aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-24 18:19:55 +0800
committerobscuren <geffobscura@gmail.com>2014-07-24 18:19:55 +0800
commita45c08f9fe320d79d2abc7c29e5f3b986130c5bb (patch)
treeb4bf502372a15451811489f0ac4ba376045f5bc1 /ethchain
parent3c3292d505b1c857f7fa28da0d37e3982ef5f8b5 (diff)
downloadgo-tangerine-a45c08f9fe320d79d2abc7c29e5f3b986130c5bb.tar.gz
go-tangerine-a45c08f9fe320d79d2abc7c29e5f3b986130c5bb.tar.zst
go-tangerine-a45c08f9fe320d79d2abc7c29e5f3b986130c5bb.zip
Removed old code
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_transition.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go
index a03a3a94a..266328ce8 100644
--- a/ethchain/state_transition.go
+++ b/ethchain/state_transition.go
@@ -266,34 +266,8 @@ func (self *StateTransition) Eval(script []byte, context *ethstate.StateObject,
ret, _, err = callerClosure.Call(vm, self.tx.Data)
- /*
- closure := NewClosure(initiator, context, script, state, self.gas, self.gasPrice)
- vm := NewVm(state, nil, RuntimeVars{
- Origin: initiator.Address(),
- Block: block,
- BlockNumber: block.Number,
- PrevHash: block.PrevHash,
- Coinbase: block.Coinbase,
- Time: block.Time,
- Diff: block.Difficulty,
- Value: self.value,
- })
- vm.Verbose = true
- vm.Fn = typ
-
- ret, err = Call(vm, closure, self.data)
- */
-
- return
-}
-
-/*
-func Call(vm *eth.Vm, closure *Closure, data []byte) (ret []byte, err error) {
- ret, _, err = closure.Call(vm, data)
-
return
}
-*/
// Converts an transaction in to a state object
func MakeContract(tx *Transaction, state *ethstate.State) *ethstate.StateObject {