core, tests: get_hash fix
Make sure that we're fetching the hash from the current chain and not the canonical chain. Conflicts: core/vm/environment.go
This commit is contained in:
@ -31,7 +31,9 @@ type Environment interface {
|
||||
|
||||
Origin() common.Address
|
||||
BlockNumber() *big.Int
|
||||
GetHash(n uint64) common.Hash
|
||||
// The n'th hash ago from this block number
|
||||
GetHash(uint64) common.Hash
|
||||
// The handler's address
|
||||
Coinbase() common.Address
|
||||
Time() *big.Int
|
||||
Difficulty() *big.Int
|
||||
|
Reference in New Issue
Block a user