diff options
Diffstat (limited to 'packages/subproviders/src')
-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); |