good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit e4cb158d authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

mobile: fix missing return for CallMsg.SetTo(nil)

parent 0ab54de1
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment