mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Merge pull request #48 from sei-protocol/tony/pass-depth-to-precompiles
Add GetDepth
This commit is contained in:
commit
efb469c635
1 changed files with 4 additions and 0 deletions
|
|
@ -615,3 +615,7 @@ func (evm *EVM) GetVMContext() *tracing.VMContext {
|
|||
StateDB: evm.StateDB,
|
||||
}
|
||||
}
|
||||
|
||||
func (evm *EVM) GetDepth() int {
|
||||
return evm.depth
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue