core: report pretty storage sizes for receipt inserts

This commit is contained in:
Péter Szilágyi 2018-02-01 20:35:22 +02:00
parent a4cff48475
commit 4aeed0753e
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -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)