don't use beta provider for now
This commit is contained in:
parent
2ec91cb789
commit
10e0ec885c
|
@ -110,16 +110,14 @@
|
||||||
(fn [{{:keys [web3] :as db} :db} _]
|
(fn [{{:keys [web3] :as db} :db} _]
|
||||||
(println "WEB3" web3)
|
(println "WEB3" web3)
|
||||||
(when web3
|
(when web3
|
||||||
{:db (if (exists? js/window.ethereumBeta)
|
{:db (update db :web3-async-data
|
||||||
db
|
assoc
|
||||||
(update db :web3-async-data
|
:api (.-api (.-version web3))
|
||||||
assoc
|
:network (.-network (.-version web3))
|
||||||
:api (.-api (.-version web3))
|
:accounts (.-accounts (.-eth web3))
|
||||||
:network (.-network (.-version web3))
|
:default-account (.-defaultAccount (.-eth web3))
|
||||||
:accounts (.-accounts (.-eth web3))
|
:coinbase (.-coinbase (.-eth web3))
|
||||||
:default-account (.-defaultAccount (.-eth web3))
|
:default-block (.-defaultBlock (.-eth web3)))
|
||||||
:coinbase (.-coinbase (.-eth web3))
|
|
||||||
:default-block (.-defaultBlock (.-eth web3))))
|
|
||||||
:web3-node-fx web3
|
:web3-node-fx web3
|
||||||
:web3-coinbase-fx web3
|
:web3-coinbase-fx web3
|
||||||
:web3-ethereum-fx web3
|
:web3-ethereum-fx web3
|
||||||
|
|
Loading…
Reference in New Issue