Open emmanuelm41 opened 3 years ago
can you try to give -i 0
? this only select one account (the first). otherwise it's going to both scan accounts and do txs time which enters into a weird lock problem of trying to open the device twice.
Yes, that is exactly what I saw on log. As you said, using that option the issue is gone. Thanks a lot!
i'll reopen this just to keep it in mind we have to improve this
Great! I agree with you.
Description
If you try to execute a
send
command with no sender id and the first scanned account has been used before (has some txs on the blockchain or has a balance not equal to 0), the command will fail. It tries to keep scanning for new addresses (after the first one, which has been used) while at the same time it tries to sign the tx with the first address it found (the one that has been already used).How to reproduce it
I executed the following command with filecoin cryptocurrency (it is actually on PR here https://github.com/LedgerHQ/ledger-live-common/pull/1365). However, I tested it with polkadot and it happens too). In order to reproduce it with filecoin, you will to execute
yarn ci-setup-cli
.Command:
ledger-live send --currency filecoin --recipient t1d2xrzcslx7xlbbylc5c3d5lvandqw4iwl6epxba --amount 1
Output: