mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
rm debug code
This commit is contained in:
parent
6ade175b11
commit
b2693ab8e2
1 changed files with 0 additions and 4 deletions
|
|
@ -120,7 +120,6 @@ func newSupplyTracer(cfg json.RawMessage) (*tracing.Hooks, error) {
|
||||||
OnGenesisBlock: t.onGenesisBlock,
|
OnGenesisBlock: t.onGenesisBlock,
|
||||||
OnTxStart: t.onTxStart,
|
OnTxStart: t.onTxStart,
|
||||||
OnBalanceChange: t.onBalanceChange,
|
OnBalanceChange: t.onBalanceChange,
|
||||||
OnNonceChange: t.onNonceChange,
|
|
||||||
OnEnter: t.onEnter,
|
OnEnter: t.onEnter,
|
||||||
OnExit: t.onExit,
|
OnExit: t.onExit,
|
||||||
OnClose: t.onClose,
|
OnClose: t.onClose,
|
||||||
|
|
@ -327,6 +326,3 @@ func (s *supplyTracer) write(data any) {
|
||||||
log.Warn("failed to write to supply tracer log file", "error", err)
|
log.Warn("failed to write to supply tracer log file", "error", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func (t *supplyTracer) onNonceChange(addr common.Address, prev, new uint64) {
|
|
||||||
fmt.Printf("Nonce change for %s: %d -> %d\n", addr, prev, new)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue