diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 01:43:01 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-03-03 01:43:01 +0800 |
commit | 9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e (patch) | |
tree | 781857bc7ddf64c8e92db46cceafccead8d8cef2 /vm | |
parent | 85f765a533b3be4fd4d44cd58b666adf6e011e17 (diff) | |
download | dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.gz dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.bz2 dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.lz dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.xz dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.tar.zst dexon-9c6d9dfc5c9fdd9aeb8f4d9926ed98008b849f2e.zip |
Add required block number
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_jit.go | 2 |
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 |