aboutsummaryrefslogtreecommitdiffstats
path: root/vm/environment.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/environment.go
parent483d96a89d68023360d211ab329400f4b960fe48 (diff)
downloadgo-tangerine-bba85a207488d27819dc6f6f5758b80947ea200b.tar.gz
go-tangerine-bba85a207488d27819dc6f6f5758b80947ea200b.tar.zst
go-tangerine-bba85a207488d27819dc6f6f5758b80947ea200b.zip
Added Number to logs
Diffstat (limited to 'vm/environment.go')
-rw-r--r--vm/environment.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vm/environment.go b/vm/environment.go
index 8507e248f..5b4d6c8f0 100644
--- a/vm/environment.go
+++ b/vm/environment.go
@@ -54,6 +54,7 @@ type Log struct {
address []byte
topics [][]byte
data []byte
+ log uint64
}
func (self *Log) Address() []byte {
@@ -68,6 +69,10 @@ func (self *Log) Data() []byte {
return self.data
}
+func (self *Log) Number() uint64 {
+ return self.log
+}
+
func (self *Log) RlpData() interface{} {
return []interface{}{self.address, ethutil.ByteSliceToInterface(self.topics), self.data}
}