From 5bb68974ec779232fb4c7197bee31b672fe5f5bd Mon Sep 17 00:00:00 2001 From: Igor Kroitor Date: Fri, 20 Jul 2018 08:49:16 +0300 Subject: Deduplicate assert web3-wrapper signMessageAsync --- packages/web3-wrapper/src/web3_wrapper.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web3-wrapper/src/web3_wrapper.ts b/packages/web3-wrapper/src/web3_wrapper.ts index 4439eb284..883a99bb4 100644 --- a/packages/web3-wrapper/src/web3_wrapper.ts +++ b/packages/web3-wrapper/src/web3_wrapper.ts @@ -291,7 +291,6 @@ export class Web3Wrapper { * @returns Signature string (might be VRS or RSV depending on the Signer) */ public async signMessageAsync(address: string, message: string): Promise { - assert.isETHAddressHex('address', address); assert.isETHAddressHex('address', address); assert.isString('message', message); // TODO: Should this be stricter? Hex string? const signData = await this._sendRawPayloadAsync({ -- cgit