[#12709] Fix handling errors on eth_gasPrice

This commit is contained in:
Roman Volosovskyi 2021-10-14 18:08:36 +03:00
parent e1666aa169
commit e2767ffce5
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 2 additions and 2 deletions

View File

@ -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))