From 4aeed0753e5b5f3d82d6383af41e00f464d05b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 1 Feb 2018 20:35:22 +0200 Subject: [PATCH] core: report pretty storage sizes for receipt inserts --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index 9c4fad425d..e2f4a9e669 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -842,7 +842,7 @@ func (bc *BlockChain) InsertReceiptChain(blockChain types.Blocks, receiptChain [ log.Info("Imported new block receipts", "count", stats.processed, "elapsed", common.PrettyDuration(time.Since(start)), - "bytes", bytes, + "size", common.StorageSize(bytes), "number", head.Number(), "hash", head.Hash(), "ignored", stats.ignored)