status-im / open-bounty

Enable communities to distribute funds to push their cause forward.
https://openbounty.status.im/
GNU Affero General Public License v3.0
118 stars 36 forks source link

MetaMask: Use web3.currentProvider instead of window.web3 #242 #455

Open debragail opened 6 years ago

debragail commented 6 years ago

Fixes #242

-Updated common.clj to web 3

upgrading cljs-web3 to 0.19.0-0-11 and replacing the web3 constructor we defined here:

open-bounty/src/cljs/commiteth/common.cljs

Lines 10 to 11 in b76ad70

(defn web3 [] (gobj/get js/window "web3")) with the one that has been added to cljs-web3 in this PR: district0x/cljs-web3#8