mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
[#9975] Do not throw exception on invalid ens recipient
This commit is contained in:
parent
8a612a3807
commit
39ea685adc
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user