aboutsummaryrefslogtreecommitdiffstats
path: root/vm/environment.go
diff options
context:
space:
mode:
authorEthan Buchman <ethan@coinculture.info>2015-02-27 06:54:57 +0800
committerEthan Buchman <ethan@coinculture.info>2015-02-27 06:54:57 +0800
commit5a827417d9cef0d2a765df11e747b1755bf04898 (patch)
treecd3764686dcb59f5b1b9faf16c9f29dcc5efd593 /vm/environment.go
parent9446489cf3f2eb4b5237b9355b3975fde2886508 (diff)
parentcc5c8a444dbc23501ba1a131eb2334f4b5e1ce9f (diff)
downloaddexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar.gz
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar.bz2
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar.lz
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar.xz
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.tar.zst
dexon-5a827417d9cef0d2a765df11e747b1755bf04898.zip
Merge branch 'develop' of https://github.com/ethereum/go-ethereum into develop
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}
}