fix(marketevents): use ReceivedCidsLen

improve data transfer logger by not reading in entire cid lists
This commit is contained in:
hannahhoward 2021-07-27 17:09:44 -07:00 committed by Jennifer Wang
parent c0b07286aa
commit 8d6bff36f2

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,