mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-03 13:23:07 +00:00
populate receivedFrom field in delivery trace
This commit is contained in:
parent
4f972a14dd
commit
352c6b993e
5
trace.go
5
trace.go
@ -154,8 +154,9 @@ func (t *pubsubTracer) DeliverMessage(msg *Message) {
|
||||
PeerID: []byte(t.pid),
|
||||
Timestamp: &now,
|
||||
DeliverMessage: &pb.TraceEvent_DeliverMessage{
|
||||
MessageID: []byte(t.msgID(msg.Message)),
|
||||
Topic: msg.Topic,
|
||||
MessageID: []byte(t.msgID(msg.Message)),
|
||||
Topic: msg.Topic,
|
||||
ReceivedFrom: []byte(msg.ReceivedFrom),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user