Skip to content

Commit

Permalink
remove ethereumProvider bzz check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Jun 4, 2020
1 parent 414b89d commit 5a92c0c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/web3-bzz/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ var Bzz = function Bzz(provider) {
// set default ethereum provider
/* jshint ignore:start */
Bzz.givenProvider = null;
if(typeof ethereumProvider !== 'undefined' && ethereumProvider.bzz) {
Bzz.givenProvider = ethereumProvider.bzz;
} else if (typeof ethereum !== 'undefined' && ethereum.bzz) {
if (typeof ethereum !== 'undefined' && ethereum.bzz) {
Bzz.givenProvider = ethereum.bzz;
}
/* jshint ignore:end */
Expand Down

0 comments on commit 5a92c0c

Please sign in to comment.