aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
authorIgor Kroitor <igor.kroitor@gmail.com>2018-07-20 13:49:16 +0800
committerGitHub <noreply@github.com>2018-07-20 13:49:16 +0800
commit5bb68974ec779232fb4c7197bee31b672fe5f5bd (patch)
tree110f231354ff2e3f461f0528ec0915c9e35833b5 /packages/web3-wrapper
parent0a3ba4d27dee67ca3072782679cb7f6896c4d73b (diff)
downloaddexon-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
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r--packages/web3-wrapper/src/web3_wrapper.ts1
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',