diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-28 16:45:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-28 16:45:41 +0800 |
commit | c36a7471a8425ad81e1326aec90bdc12eed456a5 (patch) | |
tree | 56c2b6d106d6d432cb18a2f037e4e47b2f499012 | |
parent | 69806c88395c0b7fc174d6f37a83da07a0171fb9 (diff) | |
parent | 6ea8cee551f4d5e1ce4986975892f98800b7cc9b (diff) | |
download | dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar.gz dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar.bz2 dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar.lz dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar.xz dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.tar.zst dexon-sol-tools-c36a7471a8425ad81e1326aec90bdc12eed456a5.zip |
Merge pull request #300 from cavanmflynn/fix/ledger-subprovider-signing
Update subprovider to catch correct RPC method
-rw-r--r-- | packages/subproviders/src/subproviders/ledger.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/src/subproviders/ledger.ts b/packages/subproviders/src/subproviders/ledger.ts index f19e6fadd..653d0a792 100644 --- a/packages/subproviders/src/subproviders/ledger.ts +++ b/packages/subproviders/src/subproviders/ledger.ts @@ -106,8 +106,8 @@ export class LedgerSubprovider extends Subprovider { } return; - case 'personal_sign': - const data = payload.params[0]; + case 'eth_sign': + const data = payload.params[1]; try { if (_.isUndefined(data)) { throw new Error(LedgerSubproviderErrors.DataMissingForSignPersonalMessage); |