From e2767ffce51c375c063a36c56fd1881b561bca5d Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Thu, 14 Oct 2021 18:08:36 +0300 Subject: [PATCH] [#12709] Fix handling errors on eth_gasPrice --- src/status_im/signing/gas.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/signing/gas.cljs b/src/status_im/signing/gas.cljs index 519537f368..62e707a59e 100644 --- a/src/status_im/signing/gas.cljs +++ b/src/status_im/signing/gas.cljs @@ -296,8 +296,8 @@ (fn [] (json-rpc/call {:method "eth_gasPrice" - :on-success #(success-callback %) - :on-error #(error-callback %)}))))) + :on-success success-callback + :on-error (or error-callback #(log/warn "eth_gasPrice error" %))}))))) (def london-block-gas-limit (money/bignumber 30000000))