bitcoinops / taproot-workshop

Taproot & Schnorr Python Library & Documentation.
MIT License
375 stars 112 forks source link

Add default stack value for CTxInWitness initializer. #142

Closed jachiang closed 5 years ago

jachiang commented 5 years ago

Sorry - It seems I broke CTxInWitness with a previous commit fd209df.

The previous change added a witness stack argument to the CTxInWitness initializer. However, methods such as CTransaction.deserialize() will initialize CTxInWitness() without a witness stack argument. This fix makes the witness stack argument optional.

jnewbery commented 5 years ago

Thanks!