diff options
author | Jacob Evans <jacob@dekz.net> | 2018-04-11 10:47:17 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-04-11 10:47:17 +0800 |
commit | 20a1deb187d8fb38a42ae87fc8f046dff4b4ba61 (patch) | |
tree | 5aed7d4b910aa11c2a3c261a685ca864d428878c /packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts | |
parent | 9169913a2cbe9d421629db2e8169c0806044e3fc (diff) | |
download | dexon-sol-tools-20a1deb187d8fb38a42ae87fc8f046dff4b4ba61.tar.gz dexon-sol-tools-20a1deb187d8fb38a42ae87fc8f046dff4b4ba61.tar.zst dexon-sol-tools-20a1deb187d8fb38a42ae87fc8f046dff4b4ba61.zip |
Throw errors when the address is not specified or invalid
Diffstat (limited to 'packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts')
-rw-r--r-- | packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts b/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts index 77e5d35ae..a1a5a2296 100644 --- a/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts +++ b/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts @@ -36,7 +36,7 @@ describe('MnemonicWalletSubprovider', () => { }); it('signs a personal message', async () => { const data = ethUtils.bufferToHex(ethUtils.toBuffer(fixtureData.PERSONAL_MESSAGE_STRING)); - const ecSignatureHex = await subprovider.signPersonalMessageAsync(data); + const ecSignatureHex = await subprovider.signPersonalMessageAsync(data, fixtureData.TEST_RPC_ACCOUNT_0); expect(ecSignatureHex).to.be.equal(fixtureData.PERSONAL_MESSAGE_SIGNED_RESULT); }); it('signs a transaction', async () => { |