Skip to content

Commit 4ab08fa

Browse files
committed
Fix sighash_tests.
Requires Sapling transaction support in the future.
1 parent cf77a5d commit 4ab08fa

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
@@ -275,7 +275,7 @@ class CTransaction
275275
READWRITE(*const_cast<std::vector<CTxOut>*>(&vout));
276276
READWRITE(*const_cast<uint32_t*>(&nLockTime));
277277

278-
if (nVersion >= CTransaction::SAPLING_VERSION) {
278+
if (nVersion == CTransaction::SAPLING_VERSION) {
279279
READWRITE(*const_cast<SaplingTxData*>(&sapData));
280280
}
281281

0 commit comments

Comments
 (0)