shapeshift / hdwallet

A library for interacting with hardware wallets from JS/TS.

Home Page:https://hdwallet.shapeshift.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`BTC(Input|Output)ScriptType.Bech32` is redundant and probably broken

mrnerdhair opened this issue · comments

Bech32 is an address encoding scheme, not a script type, and Bitcoin now uses it for more than one type of script too. Everywhere BTC(Input|Output)ScriptType.Bech32 is used, it should be SpendWitness instead.

  • Remove BTC(Input|Output)ScriptType.Bech32.

Fixed by #427.