Removed old (unused) argument

This commit is contained in:
obscuren
2015-04-01 23:58:26 +02:00
parent 219d94c1dd
commit b8124ec791
7 changed files with 9 additions and 9 deletions

View File

@ -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{})
}

View File

@ -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 {