Transaction builder must not set consensus branch ID for V4 transactions.
This commit is contained in:
parent
f9477a4499
commit
b54a63bf18
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue