diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-03 02:33:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-03 02:33:50 +0800 |
commit | 054797fa5185acb352a8a95d341c6af3f40346da (patch) | |
tree | d447f36c1eecfefe8bf6c4d9905084e6550f66f2 /src/utils | |
parent | 1443c0838cbd795ae8e6273b1d7659c8e449f2eb (diff) | |
download | dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar.gz dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar.bz2 dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar.lz dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar.xz dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.tar.zst dexon-sol-tools-054797fa5185acb352a8a95d341c6af3f40346da.zip |
Add missing async suffix
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/assert.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts index 7dffcd98e..446974b10 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -26,7 +26,7 @@ export const assert = { this.assert(web3.isAddress(value), this.typeAssertionMessage(variableName, 'ETHAddressHex', value)); }, async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, senderAddress: string) { - const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailable(senderAddress); + const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddress); assert.assert(isSenderAddressAvailable, 'Specified senderAddress isn\'t available through the \ supplied web3 instance'); }, |