Add required block number
This commit is contained in:
parent
85f765a533
commit
9c6d9dfc5c
@ -357,7 +357,7 @@ func env_log(_vm unsafe.Pointer, dataPtr unsafe.Pointer, dataLen uint64, _topic1
|
|||||||
topics = append(topics, llvm2hash((*i256)(_topic4)))
|
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
|
//export env_extcode
|
||||||
|
Loading…
Reference in New Issue
Block a user