File tree 1 file changed +1
-6
lines changed
src/status_im/contexts/wallet
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 192
192
[{:method " accounts_addAccount"
193
193
:params [(when (= type :generated ) sha3-pwd) account-config]
194
194
:on-success [:wallet/add-account-success lowercase-address]
195
- :on-error #(log/info " failed to create account " %
196
- " params:"
197
- [(when (= type :generated ) sha3-pwd) account-config])}]]]})))
195
+ :on-error #(log/info " failed to create account " %)}]]]})))
198
196
199
197
(rf/reg-event-fx
200
198
:wallet/derive-address-and-add-account
330
328
(fn [{:keys [db]}]
331
329
{:db (assoc db :wallet/valid-ens-or-address? false )}))
332
330
333
- ; ;
334
331
(rf/reg-event-fx
335
332
:wallet/ens-not-found
336
333
(fn [{:keys [db]} _]
337
334
{:db (-> db
338
335
(assoc-in [:wallet :ui :add-address-to-watch :activity-state ] :invalid-ens )
339
336
(assoc-in [:wallet :ui :add-address-to-watch :validated-address ] nil ))}))
340
337
341
- ; ;
342
338
(rf/reg-event-fx
343
339
:wallet/store-valid-address-activity
344
340
(fn [{:keys [db]} [address {:keys [hasActivity]}]]
354
350
(assoc-in [:wallet :ui :add-address-to-watch :activity-state ] state)
355
351
(assoc-in [:wallet :ui :add-address-to-watch :validated-address ] address))})))))
356
352
357
- ; ;
358
353
(rf/reg-event-fx
359
354
:wallet/clear-address-activity
360
355
(fn [{:keys [db]}]
You can’t perform that action at this time.
0 commit comments