diff --git a/mobile/ethereum.go b/mobile/ethereum.go index 35a43d274dc0a82dd9a9383992a044f59fd33ebd..59da85239744fc49c01c8dadc6a17f224e65ee1d 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 }