mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Added another logging for self destruct withdraw hunting
This commit is contained in:
parent
7e0f1126e7
commit
6c707504ff
1 changed files with 2 additions and 0 deletions
|
|
@ -903,6 +903,8 @@ func (s *StateDB) SelfDestruct(addr common.Address) uint256.Int {
|
|||
if !stateObject.Balance().IsZero() {
|
||||
fmt.Fprintf(os.Stderr, "[Firehose] SelfDestruct: previous balance is non-zero (addr=%s)\n", addr)
|
||||
stateObject.SetBalance(new(uint256.Int))
|
||||
} else {
|
||||
fmt.Fprintf(os.Stderr, "[Firehose] SelfDestruct: previous balance is zero! (addr=%s)\n", addr)
|
||||
}
|
||||
// If it is already marked as self-destructed, we do not need to add it
|
||||
// for journalling a second time.
|
||||
|
|
|
|||
Loading…
Reference in a new issue