From cb84e3f02953f2df166ae69369d222dcbbd7d78d Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Sat, 1 Oct 2016 15:44:53 +0300 Subject: cmd, core, internal, light, tests: avoid hashing the code in the VM --- internal/ethapi/tracer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/ethapi/tracer_test.go') diff --git a/internal/ethapi/tracer_test.go b/internal/ethapi/tracer_test.go index 301ff4840..7c831d299 100644 --- a/internal/ethapi/tracer_test.go +++ b/internal/ethapi/tracer_test.go @@ -93,7 +93,7 @@ func (account) SetNonce(uint64) {} func (account) Balance() *big.Int { return nil } func (account) Address() common.Address { return common.Address{} } func (account) ReturnGas(*big.Int, *big.Int) {} -func (account) SetCode([]byte) {} +func (account) SetCode(common.Hash, []byte) {} func (account) ForEachStorage(cb func(key, value common.Hash) bool) {} func runTrace(tracer *JavascriptTracer) (interface{}, error) { -- cgit