Skip to content

Commit b80bdf8

Browse files
[#22567] fix: sign transactions from partially operable account (#22570)
* [#22567] fix: sign transactions from partially operable account * [#22567] fix: destructure operable key
1 parent 2f26b07 commit b80bdf8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/status_im/contexts/wallet/data_store.cljs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@
117117

118118
(defn partially-operable-accounts?
119119
[accounts]
120-
(->> accounts
121-
(some #(= :partially (:operable %)))
122-
boolean))
120+
(boolean
121+
(some (fn [[_ {:keys [operable]}]]
122+
(= :partially operable))
123+
accounts)))
123124

124125
(defn get-keypair-lowest-operability
125126
[{:keys [accounts]}]

0 commit comments

Comments
 (0)