diff --git a/src/status_im/ethereum/transactions/core.cljs b/src/status_im/ethereum/transactions/core.cljs index d8c9e31027..d7bd7b3e02 100644 --- a/src/status_im/ethereum/transactions/core.cljs +++ b/src/status_im/ethereum/transactions/core.cljs @@ -124,10 +124,15 @@ transfer-by-id (get-in db [:wallet :transaction id]) unique-id (when-not (or transfer-by-id (= transfer transfer-by-hash)) - (if transfer-by-hash id hash))] + (if (and transfer-by-hash + (not (= :pending + (:type transfer-by-hash)))) + id + hash))] (when unique-id (fx/merge cofx - {:db (assoc-in db [:wallet :transactions unique-id] transfer)} + {:db (assoc-in db [:wallet :transactions unique-id] + (assoc transfer :hash unique-id))} (check-transaction transfer))))) (fx/defn new-transfers