aboutsummaryrefslogtreecommitdiffstats
path: root/chain/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-03 20:50:51 +0800
committerobscuren <geffobscura@gmail.com>2014-12-03 20:50:51 +0800
commit6095edac5843aa18e389ef2deaa49fe05b7fcfb9 (patch)
tree851b5616b2024248b6b9790199ef289e04725cbb /chain/state_transition.go
parent64f35ba8d1f31d6821a0a1bf946c71396a996f30 (diff)
parent3d9a4e7084c33cb28a2265c0dd232a0ea3871c92 (diff)
downloaddexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.tar.gz
dexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.tar.zst
dexon-6095edac5843aa18e389ef2deaa49fe05b7fcfb9.zip
merge
Diffstat (limited to 'chain/state_transition.go')
-rw-r--r--chain/state_transition.go6
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)
}