Add required block number

pull/413/head
Paweł Bylica 10 years ago
parent 85f765a533
commit 9c6d9dfc5c
  1. 2
      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

Loading…
Cancel
Save