diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-02 05:58:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-02 05:58:26 +0800 |
commit | b8124ec79182dbf90b28c8527f2440cea6473f1b (patch) | |
tree | e5c14f90203a9b2a1d37cff28f92918b2ed54398 /core/state | |
parent | 219d94c1ddcb1e1e8a3fbfcfdcb545e6271dd5be (diff) | |
download | dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.gz dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.tar.zst dexon-b8124ec79182dbf90b28c8527f2440cea6473f1b.zip |
Removed old (unused) argument
Diffstat (limited to 'core/state')
-rw-r--r-- | core/state/state_test.go | 2 | ||||
-rw-r--r-- | core/state/statedb.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/state/state_test.go b/core/state/state_test.go index da597d773..09a65de54 100644 --- a/core/state/state_test.go +++ b/core/state/state_test.go @@ -72,7 +72,7 @@ func TestNull(t *testing.T) { //value := common.FromHex("0x823140710bf13990e4500136726d8b55") value := make([]byte, 16) state.SetState(address, common.Hash{}, value) - state.Update(nil) + state.Update() state.Sync() value = state.GetState(address, common.Hash{}) } diff --git a/core/state/statedb.go b/core/state/statedb.go index 2dc8239ef..e69bb34fe 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -316,7 +316,7 @@ func (self *StateDB) Refunds() map[string]*big.Int { return self.refund } -func (self *StateDB) Update(gasUsed *big.Int) { +func (self *StateDB) Update() { self.refund = make(map[string]*big.Int) for _, stateObject := range self.stateObjects { |