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?]
|
(defn- sign-enabled? [amount-error to amount modal?]
|
||||||
(and
|
(and
|
||||||
(nil? amount-error)
|
(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))))
|
(not (nil? amount))))
|
||||||
|
|
||||||
;; "Sign Later" and "Sign Transaction >" buttons
|
;; "Sign Later" and "Sign Transaction >" buttons
|
||||||
|
|
Loading…
Reference in New Issue