Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bech32 wallet: TypeError when transaction input has no witness

See original GitHub issue

YellowBox.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:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

Overtormentcommented, Jun 8, 2019

should be fixed in will rollout in v4.0.4

Overtormentcommented, Jun 6, 2019

Will fix asap

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found