aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorCorey Lin <514971757@qq.com>2018-11-08 20:07:15 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-11-08 20:07:15 +0800
commita5dc087845c90dad126bf203640ac6e876d7bbcb (patch)
treeabe0fcbc9d298481e9ddb27e1103e3b0a62a54ae /eth
parent212bf266c55b3737da37e6588142d0c9f7c6e10f (diff)
downloaddexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar.gz
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar.bz2
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar.lz
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar.xz
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.tar.zst
dexon-a5dc087845c90dad126bf203640ac6e876d7bbcb.zip
core/vm, eth/tracers: use pointer receiver for GetRefund (#18018)
Diffstat (limited to 'eth')
-rw-r--r--eth/tracers/tracer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/tracers/tracer_test.go b/eth/tracers/tracer_test.go
index 52f29c83f..a45a12115 100644
--- a/eth/tracers/tracer_test.go
+++ b/eth/tracers/tracer_test.go
@@ -48,7 +48,7 @@ type dummyStatedb struct {
state.StateDB
}
-func (dummyStatedb) GetRefund() uint64 { return 1337 }
+func (*dummyStatedb) GetRefund() uint64 { return 1337 }
func runTrace(tracer *Tracer) (json.RawMessage, error) {
env := vm.NewEVM(vm.Context{BlockNumber: big.NewInt(1)}, &dummyStatedb{}, params.TestChainConfig, vm.Config{Debug: true, Tracer: tracer})