diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-07 10:52:48 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-07 10:52:48 +0800 |
commit | e8495b0c7bf58cb683f70cd66a983dbf909215c0 (patch) | |
tree | 552f5da749b4e05db5c7e3893c3e9c52402fc6f5 /packages/subproviders/test/integration | |
parent | e80579a6055f75edac0fb0e948838495d6599bb5 (diff) | |
download | dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar.gz dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar.bz2 dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar.lz dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar.xz dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.tar.zst dexon-sol-tools-e8495b0c7bf58cb683f70cd66a983dbf909215c0.zip |
Simplify interface to signPersonalMessageAsync
Diffstat (limited to 'packages/subproviders/test/integration')
-rw-r--r-- | packages/subproviders/test/integration/ledger_subprovider_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/test/integration/ledger_subprovider_test.ts b/packages/subproviders/test/integration/ledger_subprovider_test.ts index ab1ee3264..dfc55be5b 100644 --- a/packages/subproviders/test/integration/ledger_subprovider_test.ts +++ b/packages/subproviders/test/integration/ledger_subprovider_test.ts @@ -41,7 +41,7 @@ describe('LedgerSubprovider', () => { }); it('signs a personal message', async () => { const data = ethUtils.bufferToHex(ethUtils.toBuffer('hello world')); - const ecSignatureHex = await ledgerSubprovider.signPersonalMessageAsync({data}); + const ecSignatureHex = await ledgerSubprovider.signPersonalMessageAsync(data); expect(ecSignatureHex.length).to.be.equal(132); expect(ecSignatureHex.substr(0, 2)).to.be.equal('0x'); }); |