aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 22:02:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 22:02:36 +0800
commit5412e803159a1d944297ab1fe1a49896651cedd6 (patch)
tree035543cd3039f7919e39c23dc1d21d25ddb48fbf /src
parent08b7c24bbf23685814c5bba5148577022e40e8b0 (diff)
parent8ec3bec5b3de726fbf2cc828e179ac2ed1029d9f (diff)
downloaddexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.gz
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.bz2
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.lz
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.xz
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.ts5
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();