aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/assert.ts2
-rw-r--r--src/web3_wrapper.ts2
2 files changed, 2 insertions, 2 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');
},
diff --git a/src/web3_wrapper.ts b/src/web3_wrapper.ts
index 625a1dead..9892abcb8 100644
--- a/src/web3_wrapper.ts
+++ b/src/web3_wrapper.ts
@@ -35,7 +35,7 @@ export class Web3Wrapper {
}
return addresses[0];
}
- public async isSenderAddressAvailable(senderAddress: string): Promise<boolean> {
+ public async isSenderAddressAvailableAsync(senderAddress: string): Promise<boolean> {
const addresses = await this.getAvailableSenderAddressesAsync();
return _.includes(addresses, senderAddress);
}