diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-03 20:50:51 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-03 20:50:51 +0800 |
commit | 6095edac5843aa18e389ef2deaa49fe05b7fcfb9 (patch) | |
tree | 851b5616b2024248b6b9790199ef289e04725cbb /chain/state_transition.go | |
parent | 64f35ba8d1f31d6821a0a1bf946c71396a996f30 (diff) | |
parent | 3d9a4e7084c33cb28a2265c0dd232a0ea3871c92 (diff) | |
download | dexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.tar.gz dexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.tar.zst dexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.zip |
merge
Diffstat (limited to 'chain/state_transition.go')
-rw-r--r-- | chain/state_transition.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chain/state_transition.go b/chain/state_transition.go index 53b1f6e2d..8f7b55cd4 100644 --- a/chain/state_transition.go +++ b/chain/state_transition.go @@ -169,12 +169,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) } |