aboutsummaryrefslogtreecommitdiffstats
path: root/chain/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-03 05:37:45 +0800
committerobscuren <geffobscura@gmail.com>2014-12-03 05:37:45 +0800
commitf7789220862f67c2aadaf7b6a44fcd54152dd234 (patch)
tree173339a8da9b45c3e03b4f5a36ca5622a42e48b0 /chain/state_transition.go
parentedc52bdcbf65b396a838a347b370ea859ae58247 (diff)
downloadgo-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.gz
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.bz2
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.lz
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.xz
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.tar.zst
go-tangerine-f7789220862f67c2aadaf7b6a44fcd54152dd234.zip
Set proper message value
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 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)
}