From f7789220862f67c2aadaf7b6a44fcd54152dd234 Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 2 Dec 2014 22:37:45 +0100 Subject: Set proper message value --- chain/state_transition.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'chain/state_transition.go') diff --git a/chain/state_transition.go b/chain/state_transition.go index f9b82c58b..53c306903 100644 --- a/chain/state_transition.go +++ b/chain/state_transition.go @@ -168,12 +168,6 @@ func (self *StateTransition) TransitionState() (err error) { return } - //dataPrice := big.NewInt(int64(len(self.data))) - //dataPrice.Mul(dataPrice, vm.GasData) - //if err = self.UseGas(dataPrice); err != nil { - // return - //} - if sender.Balance().Cmp(self.value) < 0 { return fmt.Errorf("Insufficient funds to transfer value. Req %v, has %v", self.value, sender.Balance) } -- cgit v1.2.3