Skip to content

Add default stack value for CTxInWitness initializer.#142

Merged
jnewbery merged 1 commit intobitcoinops:masterfrom
jachiang:2019-11-ctxinwitness-init
Nov 4, 2019
Merged

Add default stack value for CTxInWitness initializer.#142
jnewbery merged 1 commit intobitcoinops:masterfrom
jachiang:2019-11-ctxinwitness-init

Conversation

@jachiang
Copy link
Copy Markdown
Contributor

@jachiang jachiang commented Nov 1, 2019

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.

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
Copy link
Copy Markdown
Contributor

jnewbery commented Nov 4, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants