bech32 wallet: TypeError when transaction input has no witness
See original GitHub issueYellowBox.js:67 TypeError: Cannot read property '1' of undefined
at Object.getTransactionsFullByAddress$ (BlueElectrum.js:133)
at tryCatch (runtime.js:45)
at Generator.invoke [as _invoke] (runtime.js:271)
at Generator.prototype.<computed> [as next] (runtime.js:97)
at tryCatch (runtime.js:45)
at invoke (runtime.js:135)
at runtime.js:145
at tryCallOne (core.js:37)
at core.js:123
at JSTimers.js:298
It happens when trying to import a bech32 wallet with zpub and the first transaction has an input from a legacy address (no witness). This issue might very well be related to #490 and #501.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Error importing zpub key: "Failed to import. Please, make sure ...
Please, make sure that the provided data is valid" Android ... bech32 wallet: TypeError when transaction input has no witness #512.
Read more >Witness program hash mismatch while signing bech32 ...
This error means that the transaction wasn't signed, which given that all of the inputs look correct, means that you are providing the...
Read more >Segregated Witness Wallet Development Guide - Bitcoin Core
The witness is a serialization of all witness data of the transaction. Each txin is associated with a witness field. As a result,...
Read more >SegWit vs Native SegWit (Bech32) : A Comprehensive Guide -
How does SegWit work? The working mechanism of a segregated witness address (SegWit) starts with –. A transaction that contains the wallet address...
Read more >Bitcoin addresses and how to use them - Trezor Blog
Taproot addresses allow for more efficient transactions with lower fees and ... wallet clients that use legacy addresses often not recognizing Bech32 or ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
should be fixed in https://github.com/BlueWallet/BlueWallet/pull/514. will rollout in v4.0.4
Will fix asap