Skip to content

Commit 7aaa220

Browse files
TheCharlatanhmel
authored andcommitted
Primitives: Correct CTransaction deserialization docstring
Since bitcoin#8589 CTxWitness was removed and instead replaced with CScriptWitness inside each CTxIn.
1 parent 19e29b5 commit 7aaa220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/transaction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ struct CMutableTransaction;
201201
* - std::vector<CTxIn> vin
202202
* - std::vector<CTxOut> vout
203203
* - if (flags & 1):
204-
* - CTxWitness wit;
204+
* - CScriptWitness scriptWitness; (deserialized into CTxIn)
205205
* - uint32_t nLockTime
206206
*/
207207
template<typename Stream, typename TxType>

0 commit comments

Comments
 (0)