diff --git a/pkg/proto/libp2p/trace.go b/pkg/proto/libp2p/trace.go index 78268f14..72be7e7e 100644 --- a/pkg/proto/libp2p/trace.go +++ b/pkg/proto/libp2p/trace.go @@ -367,7 +367,7 @@ func TraceEventToSendRPC(event *host.TraceEvent) (*SendRPC, error) { } r := &SendRPC{ - SendTo: wrapperspb.String(payload.PeerID.String()), + PeerId: wrapperspb.String(payload.PeerID.String()), Meta: &RPCMeta{ PeerId: wrapperspb.String(payload.PeerID.String()), Messages: convertRPCMessages(payload.Messages),