diff options
author | obscuren <geffobscura@gmail.com> | 2014-04-12 01:29:57 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-04-12 01:29:57 +0800 |
commit | 116516158da637cde50d27d600db6661732fc402 (patch) | |
tree | 534568c2794911502058ff15e7176e2d84f29420 /ethchain/state_manager.go | |
parent | ca747f268800590ee855b1ce593b61e95d073311 (diff) | |
download | dexon-116516158da637cde50d27d600db6661732fc402.tar dexon-116516158da637cde50d27d600db6661732fc402.tar.gz dexon-116516158da637cde50d27d600db6661732fc402.tar.bz2 dexon-116516158da637cde50d27d600db6661732fc402.tar.lz dexon-116516158da637cde50d27d600db6661732fc402.tar.xz dexon-116516158da637cde50d27d600db6661732fc402.tar.zst dexon-116516158da637cde50d27d600db6661732fc402.zip |
Renamed
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r-- | ethchain/state_manager.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 111d2c019..549d59959 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -318,14 +318,14 @@ func (sm *StateManager) ProcessContract(contract *Contract, tx *Transaction, blo caller := sm.procState.GetAccount(tx.Sender()) closure := NewClosure(caller, contract, contract.script, sm.procState, tx.Gas, tx.Value) vm := NewVm(sm.procState, RuntimeVars{ - origin: caller.Address(), - blockNumber: block.BlockInfo().Number, - prevHash: block.PrevHash, - coinbase: block.Coinbase, - time: block.Time, - diff: block.Difficulty, + Origin: caller.Address(), + BlockNumber: block.BlockInfo().Number, + PrevHash: block.PrevHash, + Coinbase: block.Coinbase, + Time: block.Time, + Diff: block.Difficulty, // XXX Tx data? Could be just an argument to the closure instead - txData: nil, + TxData: nil, }) closure.Call(vm, nil, nil) |