aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-28 16:45:41 +0800
committerGitHub <noreply@github.com>2017-12-28 16:45:41 +0800
commitc36a7471a8425ad81e1326aec90bdc12eed456a5 (patch)
tree56c2b6d106d6d432cb18a2f037e4e47b2f499012 /packages/subproviders
parent69806c88395c0b7fc174d6f37a83da07a0171fb9 (diff)
parent6ea8cee551f4d5e1ce4986975892f98800b7cc9b (diff)
downloaddexon-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
Diffstat (limited to 'packages/subproviders')
-rw-r--r--packages/subproviders/src/subproviders/ledger.ts4
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);