mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 08:53:46 +00:00
add comment re newAccount precompile
This commit is contained in:
parent
e4399a672a
commit
14d603b009
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ type StateLogger interface {
|
||||||
OnCodeChange(addr common.Address, prevCodeHash common.Hash, prevCode []byte, codeHash common.Hash, code []byte)
|
OnCodeChange(addr common.Address, prevCodeHash common.Hash, prevCode []byte, codeHash common.Hash, code []byte)
|
||||||
OnStorageChange(addr common.Address, slot common.Hash, prev, new common.Hash)
|
OnStorageChange(addr common.Address, slot common.Hash, prev, new common.Hash)
|
||||||
OnLog(log *types.Log)
|
OnLog(log *types.Log)
|
||||||
|
// OnNewAccount is called when a new account is created.
|
||||||
|
// Note: it will be even invoked when precompiled contracts are populated.
|
||||||
OnNewAccount(addr common.Address)
|
OnNewAccount(addr common.Address)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue