We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36f8c8b + eed998f commit 50b5d38Copy full SHA for 50b5d38
1 file changed
datastructures/TransactionList.cpp
@@ -165,9 +165,11 @@ ptr< ConsensusExtFace::Transactions > TransactionList::createTransactionVector(
165
// TODO - refactor to simply call biteManager->parseBITETransactions
166
if (biteManager) {
167
auto epochId = biteManager->getSchain()->getNode()->getCurrentEpochId();
168
+ bool isBite2PatchEnabled = biteManager->getSchain()->bite2Patch(
169
+ biteManager->getSchain()->getLastCommittedBlockTimeStamp().getS() );
170
for (size_t i = 0; i < transactions->size(); i++) {
171
auto tx = transactions->at(i);
- if (BiteEngine::tryGetEncryptedCTXArgs(tx, epochId)) {
172
+ if (isBite2PatchEnabled && BiteEngine::tryGetEncryptedCTXArgs(tx, epochId)) {
173
tv->pushBackCTX(*(tx->getData()));
174
}
175
else {
0 commit comments