core: make receipt and headers have the same log format

This commit is contained in:
Péter Szilágyi 2018-02-01 21:08:00 +02:00
parent 92716ddb4b
commit 87a37c3bee
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -842,9 +842,9 @@ func (bc *BlockChain) InsertReceiptChain(blockChain types.Blocks, receiptChain [
log.Info("Imported new block receipts", log.Info("Imported new block receipts",
"count", stats.processed, "count", stats.processed,
"elapsed", common.PrettyDuration(time.Since(start)), "elapsed", common.PrettyDuration(time.Since(start)),
"size", common.StorageSize(bytes),
"number", head.Number(), "number", head.Number(),
"hash", head.Hash(), "hash", head.Hash(),
"size", common.StorageSize(bytes),
"ignored", stats.ignored) "ignored", stats.ignored)
return 0, nil return 0, nil
} }