aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/web3_factory.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/web3_factory.ts')
-rw-r--r--test/utils/web3_factory.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/web3_factory.ts b/test/utils/web3_factory.ts
index f89c907f6..b20070c74 100644
--- a/test/utils/web3_factory.ts
+++ b/test/utils/web3_factory.ts
@@ -16,7 +16,7 @@ export const web3Factory = {
web3.setProvider(provider);
return web3;
},
- getRpcProvider(hasAddresses: boolean): Web3.Provider {
+ getRpcProvider(hasAddresses: boolean = true): Web3.Provider {
const provider = new ProviderEngine();
const rpcUrl = `http://${constants.RPC_HOST}:${constants.RPC_PORT}`;
if (!hasAddresses) {