diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-08-03 13:42:31 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-03 13:42:31 +0800 |
commit | e4cb158d01499bc4bb34da2489ad1a0f144f7502 (patch) | |
tree | 0be67850fa7ddc64730e88d92b7d3b6588ab3bd6 | |
parent | 0ab54de1a5e4736b7eafb240d5abba09f43a3034 (diff) | |
download | dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar.gz dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar.bz2 dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar.lz dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar.xz dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.tar.zst dexon-e4cb158d01499bc4bb34da2489ad1a0f144f7502.zip |
mobile: fix missing return for CallMsg.SetTo(nil)
-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 } |