diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-06 22:02:36 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-06 22:02:36 +0800 |
commit | 5412e803159a1d944297ab1fe1a49896651cedd6 (patch) | |
tree | 035543cd3039f7919e39c23dc1d21d25ddb48fbf /src | |
parent | 08b7c24bbf23685814c5bba5148577022e40e8b0 (diff) | |
parent | 8ec3bec5b3de726fbf2cc828e179ac2ed1029d9f (diff) | |
download | dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.gz dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.zst dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.zip |
Merge branch 'master' into cancelAsync
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/assert.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts index f4d653ffb..4dc6945a2 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -34,8 +34,9 @@ export const assert = { async isSenderAddressAvailableAsync(web3Wrapper: Web3Wrapper, variableName: string, senderAddressHex: string): Promise<void> { const isSenderAddressAvailable = await web3Wrapper.isSenderAddressAvailableAsync(senderAddressHex); - assert.assert(isSenderAddressAvailable, `Specified ${variableName} ${senderAddressHex} isn't available \ - through the supplied web3 instance`); + assert.assert(isSenderAddressAvailable, + `Specified ${variableName} ${senderAddressHex} isn't available through the supplied web3 instance`, + ); }, async isUserAddressAvailableAsync(web3Wrapper: Web3Wrapper): Promise<void> { const availableAddresses = await web3Wrapper.getAvailableAddressesAsync(); |