From b5bfcc772acc2d7c538f3809e7ab1890b9f7b1a7 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 16 Aug 2017 21:06:41 -0700 Subject: set default value to hasAddresses boolean --- test/utils/web3_factory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/utils') 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) { -- cgit v1.2.3