mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-26 13:35:33 +00:00
mobile: fix missing return for CallMsg.SetTo(nil)
This commit is contained in:
parent
0ab54de1a5
commit
e4cb158d01
@ -67,6 +67,7 @@ func (msg *CallMsg) SetData(data []byte) { msg.msg.Data = common.CopyBytes
|
||||
func (msg *CallMsg) SetTo(address *Address) {
|
||||
if address == nil {
|
||||
msg.msg.To = nil
|
||||
return
|
||||
}
|
||||
msg.msg.To = &address.address
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user