aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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