aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test
diff options
context:
space:
mode:
authorCavan <cavan@radarrelay.com>2018-06-05 04:48:18 +0800
committerFabio Berger <me@fabioberger.com>2018-06-26 01:39:23 +0800
commit7ce1e9b18d30cb76dd61f3859164cb09d091a3dd (patch)
tree02015f800591466b0c51f0349d223cd028dfb564 /packages/subproviders/test
parent1821f60fb5ddd4a36f34cce94acabba32b4236c6 (diff)
downloaddexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar.gz
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar.bz2
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar.lz
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar.xz
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.tar.zst
dexon-sol-tools-7ce1e9b18d30cb76dd61f3859164cb09d091a3dd.zip
Add eth-lightwallet subprovider and tests
Diffstat (limited to 'packages/subproviders/test')
-rw-r--r--packages/subproviders/test/unit/eth_lightwallet_subprovider_test.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/subproviders/test/unit/eth_lightwallet_subprovider_test.ts b/packages/subproviders/test/unit/eth_lightwallet_subprovider_test.ts
index 762163338..51308b6c2 100644
--- a/packages/subproviders/test/unit/eth_lightwallet_subprovider_test.ts
+++ b/packages/subproviders/test/unit/eth_lightwallet_subprovider_test.ts
@@ -67,10 +67,8 @@ describe('EthLightwalletSubprovider', () => {
// Keccak-256 hash of 'hello world'
const messageHash = '0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad';
- const ecSignatureHex = await ethLightwalletSubprovider.signPersonalMessageAsync(
- messageHash,
- signingAccount,
- );
+ const ecSignatureHex =
+ await ethLightwalletSubprovider.signPersonalMessageAsync(messageHash, signingAccount);
expect(ecSignatureHex).to.be.equal(
// tslint:disable-next-line:max-line-length
'0xa46b696c1aa8f91dbb33d1a66f6440bf3cf334c9dc45dc389668c1e60e2db31e259400b41f31632fa994837054c5345c88dc455c13931332489029adee6fd24d1b',