From 23bccbbc587aa22057eb7ae29c5b87d44b7cac7d Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 24 Mar 2015 15:15:17 +0100 Subject: Modified according to poc 9 changes * Refund of value --- core/state_transition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/state_transition.go') diff --git a/core/state_transition.go b/core/state_transition.go index d46838d02..6312dee88 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -196,7 +196,6 @@ func (self *StateTransition) transitionState() (ret []byte, usedGas *big.Int, er } // Increment the nonce for the next transaction - self.state.SetNonce(sender.Address(), sender.Nonce()+1) vmenv := self.env var ref vm.ContextRef @@ -214,6 +213,7 @@ func (self *StateTransition) transitionState() (ret []byte, usedGas *big.Int, er } } } else { + self.state.SetNonce(sender.Address(), sender.Nonce()+1) ret, err = vmenv.Call(self.From(), self.To().Address(), self.msg.Data(), self.gas, self.gasPrice, self.value) } -- cgit