bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.8k stars 2.07k forks source link

[BWS] Prevent wrapped address types for non-segwit chain wallets #3668

Closed kajoseph closed 6 months ago

kajoseph commented 6 months ago

There's a bug in the wallet that passes in useNativeSegwit even for BCH and DOGE wallets. The wallet bug is being fixed, but this will prevent older wallet versions from continuing to create wallets with segwit addresses for non-segwit chains.

leolambo commented 6 months ago

LGTM!