aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-22 20:24:26 +0800
committerobscuren <geffobscura@gmail.com>2015-02-22 20:24:26 +0800
commitbba85a207488d27819dc6f6f5758b80947ea200b (patch)
tree46ab6ed3f414d008019d8c35d90cf16ed0ef4dfd /vm/vm.go
parent483d96a89d68023360d211ab329400f4b960fe48 (diff)
downloaddexon-bba85a207488d27819dc6f6f5758b80947ea200b.tar.gz
dexon-bba85a207488d27819dc6f6f5758b80947ea200b.tar.zst
dexon-bba85a207488d27819dc6f6f5758b80947ea200b.zip
Added Number to logs
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 5ec507ddc..b20d7b603 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -578,7 +578,7 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I
}
data := mem.Get(mStart.Int64(), mSize.Int64())
- log := &Log{context.Address(), topics, data}
+ log := &Log{context.Address(), topics, data, self.env.BlockNumber().Uint64()}
self.env.AddLog(log)
self.Printf(" => %v", log)