aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-21 11:28:29 +0800
committerGitHub <noreply@github.com>2018-07-21 11:28:29 +0800
commitbf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e (patch)
treef0ce055234d858709b6bd8219ee19de744b844d9 /packages/web3-wrapper
parente54501522dcf93521c8ff7dfe5b216cffeaa1b29 (diff)
parent5bb68974ec779232fb4c7197bee31b672fe5f5bd (diff)
downloaddexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar.gz
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar.bz2
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar.lz
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar.xz
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.tar.zst
dexon-sol-tools-bf69ca6e5309d5e3b00c36f0d3b890fcbc5e009e.zip
Merge pull request #899 from kroitor/patch-1
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',