From 513ca85f27eacd1aa336e0603705aebfe5df594e Mon Sep 17 00:00:00 2001 From: yenda Date: Tue, 28 May 2019 18:20:08 +0200 Subject: [PATCH] [fix] on-result event for in app transactions Signed-off-by: yenda --- src/status_im/wallet/core.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/wallet/core.cljs b/src/status_im/wallet/core.cljs index e638b40968..4f7fb5dbfe 100644 --- a/src/status_im/wallet/core.cljs +++ b/src/status_im/wallet/core.cljs @@ -553,7 +553,7 @@ (fx/defn eth-transaction-call [{:keys [db] :as cofx} - {:keys [contract method params on-success on-error details] :as transaction}] + {:keys [contract method params on-result on-error details] :as transaction}] (let [current-address (ethereum/current-address db) transaction (merge {:to contract :from current-address @@ -562,7 +562,7 @@ :symbol :ETH :method "eth_sendTransaction" :amount (money/bignumber 0) - :on-success on-success + :on-result on-result :on-error on-error} details) go-to-view-id (if (get-in db [:account/account :wallet-set-up-passed?])