You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
The class unspentoutput does not work with cashaddr because the following line assumes it is a legacy address and fails with Error: Checksum mismatch in Base58Check.
const address = data.address ? new Address(data.address) : undefined;
This constructor is called during Transaction.from so it is a major use case.
The class unspentoutput does not work with cashaddr because the following line assumes it is a legacy address and fails with
Error: Checksum mismatchin Base58Check.This constructor is called during Transaction.from so it is a major use case.
See the following branch with a test that fails.
https://github.com/the-bitcoin-token/bitcoin-source/compare/unspentoutput_cashaddr?expand=1
There are several ways to fix: