diff options
author | Igor Kroitor <igor.kroitor@gmail.com> | 2018-07-20 13:49:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-20 13:49:16 +0800 |
commit | 5bb68974ec779232fb4c7197bee31b672fe5f5bd (patch) | |
tree | 110f231354ff2e3f461f0528ec0915c9e35833b5 | |
parent | 0a3ba4d27dee67ca3072782679cb7f6896c4d73b (diff) | |
download | dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar.gz dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar.bz2 dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar.lz dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar.xz dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.tar.zst dexon-sol-tools-5bb68974ec779232fb4c7197bee31b672fe5f5bd.zip |
Deduplicate assert web3-wrapper signMessageAsync
-rw-r--r-- | packages/web3-wrapper/src/web3_wrapper.ts | 1 |
1 files changed, 0 insertions, 1 deletions
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 @@ -292,7 +292,6 @@ export class Web3Wrapper { */ public async signMessageAsync(address: string, message: string): Promise<string> { assert.isETHAddressHex('address', address); - assert.isETHAddressHex('address', address); assert.isString('message', message); // TODO: Should this be stricter? Hex string? const signData = await this._sendRawPayloadAsync<string>({ method: 'eth_sign', |