print better log

This commit is contained in:
alex.sharov 2021-07-13 15:47:05 +07:00
parent 08590211e6
commit 34ba380087

View File

@ -73,7 +73,7 @@ func (s *State) GetLocalHeight(db ethdb.KVGetter) (uint64, error) {
}
func (s *State) UnwindTo(blockNumber uint64, tx TxOrDb, badBlock common.Hash) error {
log.Info("UnwindTo", "block", blockNumber, "bad_block_hash", badBlock)
log.Info("UnwindTo", "block", blockNumber, "bad_block_hash", badBlock.String())
for _, stage := range s.unwindOrder {
if stage.Disabled {
continue