mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
output witness summary in log statement
This commit is contained in:
parent
d6ee7eb99c
commit
1ae534ae41
1 changed files with 1 additions and 1 deletions
|
|
@ -1854,7 +1854,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
statedb.GetWitness().SetBlock(block)
|
statedb.GetWitness().SetBlock(block)
|
||||||
fmt.Printf("block %d summary:\n%s", block.NumberU64(), statedb.GetWitness().Summary())
|
log.Info(fmt.Sprintf("block %d summary:\n%s", block.NumberU64(), statedb.GetWitness().Summary()))
|
||||||
//state.DumpBlockWithWitnessToFile(statedb.GetWitness(), block)
|
//state.DumpBlockWithWitnessToFile(statedb.GetWitness(), block)
|
||||||
|
|
||||||
followupInterrupt.Store(true)
|
followupInterrupt.Store(true)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue