mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-05 13:25:43 +00:00
bug #5214 - allows empty recipient only in dapp transactions (for contract creation)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
62bab5150e
commit
77ad488765
@ -76,7 +76,7 @@
|
||||
(defn- sign-enabled? [amount-error to amount modal?]
|
||||
(and
|
||||
(nil? amount-error)
|
||||
(or modal? (not (nil? to)) (not= to "")) ;;NOTE(goranjovic) - contract creation will have empty `to`
|
||||
(or modal? (not (empty? to))) ;;NOTE(goranjovic) - contract creation will have empty `to`
|
||||
(not (nil? amount))))
|
||||
|
||||
;; "Sign Later" and "Sign Transaction >" buttons
|
||||
|
Loading…
x
Reference in New Issue
Block a user