aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-03-03 01:43:01 +0800
committerPaweł Bylica <pawel.bylica@imapp.pl>2015-03-03 01:43:01 +0800
commit9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e (patch)
tree781857bc7ddf64c8e92db46cceafccead8d8cef2
parent85f765a533b3be4fd4d44cd58b666adf6e011e17 (diff)
downloaddexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.gz
dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.zst
dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.zip
Add required block number
-rw-r--r--vm/vm_jit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_jit.go b/vm/vm_jit.go
index 0fac31d07..7cb9c75ec 100644
--- a/vm/vm_jit.go
+++ b/vm/vm_jit.go
@@ -357,7 +357,7 @@ func env_log(_vm unsafe.Pointer, dataPtr unsafe.Pointer, dataLen uint64, _topic1
topics = append(topics, llvm2hash((*i256)(_topic4)))
}
- vm.Env().AddLog(state.NewLog(vm.me.Address(), topics, data))
+ vm.Env().AddLog(state.NewLog(vm.me.Address(), topics, data, vm.env.BlockNumber().Uint64()))
}
//export env_extcode