From f4fa4c8cce4d4dc1ec973919bb828a3435d90274 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Tue, 27 Jul 2021 17:09:44 -0700 Subject: [PATCH] fix(marketevents): use ReceivedCidsLen improve data transfer logger by not reading in entire cid lists --- markets/loggers/loggers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markets/loggers/loggers.go b/markets/loggers/loggers.go index e5f669f2f..2acf987cb 100644 --- a/markets/loggers/loggers.go +++ b/markets/loggers/loggers.go @@ -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,