aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-12 20:49:47 +0800
committerobscuren <geffobscura@gmail.com>2015-01-12 20:49:47 +0800
commit00348756bce00c2d19f16ce8df5eff7a62f5cfc6 (patch)
treef1512c49e5cc23b390d71a4b5e2df4bd5ad7ee05 /tests/helper
parent35fe4313d57e1df6c3c8af0bc0b530bd7033e21b (diff)
downloadgo-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar.gz
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar.bz2
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar.lz
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar.xz
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.tar.zst
go-tangerine-00348756bce00c2d19f16ce8df5eff7a62f5cfc6.zip
updated tests
Diffstat (limited to 'tests/helper')
-rw-r--r--tests/helper/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helper/vm.go b/tests/helper/vm.go
index 123003faa..dac279753 100644
--- a/tests/helper/vm.go
+++ b/tests/helper/vm.go
@@ -58,7 +58,7 @@ func (self *Env) Difficulty() *big.Int { return self.difficulty }
func (self *Env) State() *state.StateDB { return self.state }
func (self *Env) GasLimit() *big.Int { return self.gasLimit }
func (self *Env) GetHash(n uint64) []byte {
- return nil
+ return crypto.Sha3([]byte(big.NewInt(int64(n)).String()))
}
func (self *Env) AddLog(log state.Log) {
self.logs = append(self.logs, log)