aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-07 17:05:49 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-07 17:05:49 +0800
commit45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad (patch)
tree7da960d4b9f532107fbcff555a10cd952ef2e3b2 /ethchain/state_manager.go
parent050684450befaac8972120688b69825e8f0acbca (diff)
downloadgo-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar.gz
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar.bz2
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar.lz
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar.xz
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.tar.zst
go-tangerine-45ce820b111ab2b4e4c7b8d83dd8bebf1bb37bad.zip
Implemented value()
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 501ec102b..e8843a89e 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -331,6 +331,7 @@ func (sm *StateManager) EvalScript(script []byte, object *StateObject, tx *Trans
Coinbase: block.Coinbase,
Time: block.Time,
Diff: block.Difficulty,
+ Value: tx.Value,
//Price: tx.GasPrice,
})
closure.Call(vm, tx.Data, nil)