Skip to content

Commit

Permalink
[#9975] Do not throw exception on invalid ens recipient
Browse files Browse the repository at this point in the history
rasom committed Feb 7, 2020
1 parent 8a612a3 commit 39ea685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status_im/wallet/choose_recipient/core.cljs
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@
{:events [:wallet.send/set-recipient ::recipient-address-resolved]}
[{:keys [db]} raw-recipient]
(let [chain (ethereum/chain-keyword db)
recipient (string/trim raw-recipient)]
recipient (when raw-recipient (string/trim raw-recipient))]
(cond
(ethereum/address? recipient)
(let [checksum (eip55/address->checksum recipient)]

0 comments on commit 39ea685

Please sign in to comment.