diff options
Diffstat (limited to 'mobile/ethereum.go')
-rw-r--r-- | mobile/ethereum.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile/ethereum.go b/mobile/ethereum.go index 35a43d274..59da85239 100644 --- a/mobile/ethereum.go +++ b/mobile/ethereum.go @@ -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 } |