Skip to content

Commit

Permalink
fix: remove early return statement (CryptozombiesHQ#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcstanciu authored Dec 28, 2021
1 parent d7ebdb1 commit b724e14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions en/10/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ basechain: {
const chainId = 'default';
const writeUrl = 'http://basechain.dappchains.com/rpc';
const readUrl = 'http://basechain.dappchains.com/query';
return new LoomTruffleProvider(chainId, writeUrl, readUrl, privateKey);
const privateKeyPath = path.join(__dirname, 'mainnet_private_key');
const loomTruffleProvider = getLoomProviderWithPrivateKey(privateKeyPath, chainId, writeUrl, readUrl);
return loomTruffleProvider;
Expand Down Expand Up @@ -186,7 +185,6 @@ module.exports = {
const chainId = 'default';
const writeUrl = 'http://basechain.dappchains.com/rpc';
const readUrl = 'http://basechain.dappchains.com/query';
return new LoomTruffleProvider(chainId, writeUrl, readUrl, privateKey);
const privateKeyPath = path.join(__dirname, 'mainnet_private_key');
const loomTruffleProvider = getLoomProviderWithPrivateKey(privateKeyPath, chainId, writeUrl, readUrl);
return loomTruffleProvider;
Expand Down
2 changes: 0 additions & 2 deletions fa/10/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ basechain: {
const chainId = 'default';
const writeUrl = 'http://basechain.dappchains.com/rpc';
const readUrl = 'http://basechain.dappchains.com/query';
return new LoomTruffleProvider(chainId, writeUrl, readUrl, privateKey);
const privateKeyPath = path.join(__dirname, 'mainnet_private_key');
const loomTruffleProvider = getLoomProviderWithPrivateKey(privateKeyPath, chainId, writeUrl, readUrl);
return loomTruffleProvider;
Expand Down Expand Up @@ -186,7 +185,6 @@ module.exports = {
const chainId = 'default';
const writeUrl = 'http://basechain.dappchains.com/rpc';
const readUrl = 'http://basechain.dappchains.com/query';
return new LoomTruffleProvider(chainId, writeUrl, readUrl, privateKey);
const privateKeyPath = path.join(__dirname, 'mainnet_private_key');
const loomTruffleProvider = getLoomProviderWithPrivateKey(privateKeyPath, chainId, writeUrl, readUrl);
return loomTruffleProvider;
Expand Down

0 comments on commit b724e14

Please sign in to comment.