Skip to content

Commit

Permalink
fix: ledger's signature transactions use the default resolution (#2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenberg-2077 authored Jan 13, 2025
1 parent 5e89784 commit 50984c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/background/service/keyring/eth-ledger-keyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,7 @@ class LedgerBridgeKeyring {
const hdPath = await this.unlockAccountByAddress(address);
await this.makeApp(true);
try {
const resolution = await ledgerService.resolveTransaction(
rawTxHex,
{},
{}
);
const res = await this.app!.signTransaction(hdPath, rawTxHex, resolution);
const res = await this.app!.signTransaction(hdPath, rawTxHex);
const newOrMutatedTx = handleSigning(res);
const valid = newOrMutatedTx.verifySignature();
if (valid) {
Expand Down

0 comments on commit 50984c1

Please sign in to comment.