Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multisig transaction signing error with Ledger Nano S on Mac #1241

Closed
Stonepapa opened this issue Jan 23, 2024 · 4 comments
Closed

Multisig transaction signing error with Ledger Nano S on Mac #1241

Stonepapa opened this issue Jan 23, 2024 · 4 comments

Comments

@Stonepapa
Copy link

Version

  • M1 Mac @sonoma 14.1.1
  • Ledger Nano S
  • Sparrow 1.8.1

Description

When we attempt to sign a PSBT for a 2-of-3 native segwit multisignature output, it fails.

Error messages:

2024-01-23 23:52:36,523 ERROR [JavaFX Application Thread] c.s.s.c.DevicePane [null:-1] Signing Error: ('0x6a82', 'Error in <BitcoinInsType.REGISTER_WALLET: 2> command', '') com.sparrowwallet.sparrow.io.SignTransactionException: ('0x6a82', 'Error in <BitcoinInsType.REGISTER_WALLET: 2> command', '') at [email protected]/com.sparrowwallet.sparrow.io.Hwi.signPSBT(Unknown Source) at [email protected]/com.sparrowwallet.sparrow.io.Hwi$SignPSBTService$1.call(Unknown Source) at [email protected]/com.sparrowwallet.sparrow.io.Hwi$SignPSBTService$1.call(Unknown Source) at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at javafx.graphics@18/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

Sign message steps:

  1. Open Sparrow, and create transfer tx.
  2. Sign PSBT, connect, scan and unlock Ledger, use Ledger to sign.
  3. Get error message.
image

Both creating a new PSBT and signing an exist PSBT, we got the error message.

@craigraw
Copy link
Collaborator

Discussed in the Telegram group - the Nano S is likely out of memory to store the wallet configuration.

@Stonepapa
Copy link
Author

I have already deleted all other wallets. There are 80kb free memory.
But when I signed multisig tx by Ledger Nano S in Sparrow, I got the same error messages.
image

I think the problem is not out of memory to store.

By the way, it works well when I use Ledger Nano S as a single signature wallet to sign tx.

@craigraw
Copy link
Collaborator

Another thing it could be is a non-standard derivation path on the multisig wallet, which Ledger may not support. See bitcoin-core/HWI#702 as an example.

@Stonepapa
Copy link
Author

Solved it. Fingerprints of other 2 keystores were set to 00000000. I modified them, then it worked.

Really appreciate you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants