Removed value from closure.

This commit is contained in:
obscuren
2014-05-08 14:20:45 +02:00
parent 554f4f6f7d
commit f0440e85dc
4 changed files with 21 additions and 15 deletions

View File

@ -323,7 +323,7 @@ func (sm *StateManager) EvalScript(script []byte, object *StateObject, tx *Trans
return
}
closure := NewClosure(account, object, script, sm.procState, tx.Gas, tx.GasPrice, tx.Value)
closure := NewClosure(account, object, script, sm.procState, tx.Gas, tx.GasPrice)
vm := NewVm(sm.procState, sm, RuntimeVars{
Origin: account.Address(),
BlockNumber: block.BlockInfo().Number,