Skip to content

Commit

Permalink
fix: refactor if else
Browse files Browse the repository at this point in the history
  • Loading branch information
LijuJoseJJ committed Mar 16, 2021
1 parent b99e631 commit d5b029f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merkle-tree/src/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
},
buildUrl() {
if (config.web3.rpcUrl) return config.web3.rpcUrl;
else return `${config.web3.host}:${config.web3.port}`;
return `${config.web3.host}:${config.web3.port}`;
},
/**
* Connects to web3 and then sets proper handlers for events
Expand Down

0 comments on commit d5b029f

Please sign in to comment.