diff options
author | Fabio Berger <me@fabioberger.com> | 2017-08-17 12:06:41 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-08-17 12:06:41 +0800 |
commit | b5bfcc772acc2d7c538f3809e7ab1890b9f7b1a7 (patch) | |
tree | 1e99ee1f85395534fbfb13e19ac19a44431584dd | |
parent | 20045a438ac60e319f23df9a199d81cfe655049b (diff) | |
download | dexon-sol-tools-b5bfcc772acc2d7c538f3809e7ab1890b9f7b1a7.tar.gz dexon-sol-tools-b5bfcc772acc2d7c538f3809e7ab1890b9f7b1a7.tar.zst dexon-sol-tools-b5bfcc772acc2d7c538f3809e7ab1890b9f7b1a7.zip |
set default value to hasAddresses boolean
-rw-r--r-- | test/utils/web3_factory.ts | 2 |
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) { |