markets event logger: avoid creating a slice with every event.

This commit is contained in:
Raúl Kripalani 2021-07-27 19:34:16 +01:00
parent 80b334d04f
commit 6e9f480063

View File

@ -40,7 +40,7 @@ func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelStat
"sent", state.Sent(),
"received", state.Received(),
"queued", state.Queued(),
"received count", len(state.ReceivedCids()),
"received count", state.ReceivedCidsLen(),
"total size", state.TotalSize(),
"remote peer", state.OtherPeer(),
"event message", event.Message,