mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-29 16:13:47 +00:00
adding log to capture block size
This commit is contained in:
parent
0893afdc14
commit
c3c8279f29
1 changed files with 1 additions and 0 deletions
|
|
@ -1122,6 +1122,7 @@ func (w *worker) commit(env *environment, interval func(), update bool, start ti
|
|||
env := env.copy()
|
||||
// Withdrawals are set to nil here, because this is only called in PoW.
|
||||
block, err := w.engine.FinalizeAndAssemble(w.chain, env.header, env.state, env.txs, nil, env.receipts, nil)
|
||||
log.Info("block_size_in_bytes: %v", int64(block.Size()))
|
||||
fmt.Printf("block_size_in_bytes: %v", int64(block.Size()))
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue