Skip to content

Commit

Permalink
fix(constants.js): lint it up
Browse files Browse the repository at this point in the history
  • Loading branch information
cckelly committed Nov 16, 2018
1 parent 187517d commit 4a82e22
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ const rc = require('ara-runtime-configuration')()
function getAddress(local, privatenet, testnet, mainnet) {
let address
switch (module.exports.WEB3_NETWORK) {
case 'local':
address = local
break
case 'privatenet':
address = privatenet
break
case 'testnet':
address = testnet
break
case 'mainnet':
address = mainnet
break
default:
address = privatenet
case 'local':
address = local
break
case 'privatenet':
address = privatenet
break
case 'testnet':
address = testnet
break
case 'mainnet':
address = mainnet
break
default:
address = privatenet
}
return address
}
Expand Down

0 comments on commit 4a82e22

Please sign in to comment.