Skip to content

Commit

Permalink
fix: default to empty string for mnemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
shrugs committed Dec 1, 2017
1 parent 258c001 commit ac38088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const providerWithMnemonic = (mnemonic, rpcEndpoint) =>
new HDWalletProvider(mnemonic, rpcEndpoint);

const infuraProvider = network => providerWithMnemonic(
process.env.MNEMONIC,
process.env.MNEMONIC || '',
`https://${network}.infura.io/${process.env.INFURA_API_KEY}`
);

Expand Down

0 comments on commit ac38088

Please sign in to comment.