Transaction builder must not set consensus branch ID for V4 transactions.

This commit is contained in:
Kris Nuttycombe 2022-01-07 19:59:12 -07:00
parent f9477a4499
commit b54a63bf18
1 changed files with 1 additions and 0 deletions

View File

@ -522,6 +522,7 @@ void TransactionBuilder::CheckOrSetUsingSprout()
auto txVersionInfo = CurrentTxVersionInfo(consensusParams, nHeight, usingSprout.value());
mtx.nVersionGroupId = txVersionInfo.nVersionGroupId;
mtx.nVersion = txVersionInfo.nVersion;
mtx.nConsensusBranchId = std::nullopt;
}
}