leather-io / extension

Leather browser extension
https://leather.io
MIT License
293 stars 140 forks source link

Signing multisig transaction with Leather/Ledger fails but doesn't fail when using Asigna/Ledger #5856

Open 314159265359879 opened 5 days ago

314159265359879 commented 5 days ago

Using the dev build for asigna/ledger it does work.

I went through these steps

  1. Sign in with Ledger on the asigna site
  2. Create vault/multisig account (for this test a 2/3 multisig is convenient) if you haven't gotten one yet (dev wallet 1 has one associated)
  3. Add some STX to the multisig
  4. Then send some STX out 0.0001
  5. Let the first account sign
  6. Let the second account sign
  7. Then execute the transaction

When using Leather/Ledger this process fails at step 5 as you try to sign the first transaction you will get the message: "Your Ledger device has rejected the Payload stating it is invalid."

This is possibly related to #5115 but that is not certain because this is a generic error which can be displayed by Ledger for many reasons. It requires further investigation. This is likely caused by a bug in Leather because it does work using the other wallet combination (Asigna/Ledger).

314159265359879 commented 5 days ago

The workaround is to use Asigna/Ledger while we work on a solution. That means connecting your ledger device directly on stx.asigna.io. Vlad is working on releasing the version that adds the ledger connection option now.