Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed May 16, 2024
1 parent 0bb143f commit 774f145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions chains/Schain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ bool Schain::verifyDASigsPatch( uint64_t _blockTimeStampS ) {
}

bool Schain::verifyBlsSyncPatch( uint64_t _blockTimeStampS ) {
return verifyBlsSyncPatchTimestampS != 0 && _blockTimeStampS >= verifyBlsSyncPatchTimestampS;
return verifyBlsSyncPatchTimestamp != 0 && _blockTimeStampS >= verifyBlsSyncPatchTimestamp;
}

void Schain::blockCommitArrived( block_id _committedBlockID, schain_index _proposerIndex,
Expand Down Expand Up @@ -1476,7 +1476,7 @@ uint64_t Schain::getVerifyDaSigsPatchTimeStamp() const {
}

uint64_t Schain::getVerifyBlsSyncPatchTimestampS() const {
return verifyBlsSyncPatchTimestampS;
return verifyBlsSyncPatchTimestamp;
}


Expand Down Expand Up @@ -1528,4 +1528,5 @@ bool Schain::fastConsensusPatchEnabled(uint64_t _blockTimeStampSec ) {
void Schain::setTimeStampValuesFromConfig() {
SET_TIMESTAMP_FROM_CONFIG(verifyDaSigsPatchTimestamp)
SET_TIMESTAMP_FROM_CONFIG(fastConsensusPatchTimestamp)
SET_TIMESTAMP_FROM_CONFIG(verifyBlsSyncPatchTimestamp)
}
3 changes: 1 addition & 2 deletions chains/Schain.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ class Schain : public Agent {

uint64_t verifyDaSigsPatchTimestamp = 0;
uint64_t fastConsensusPatchTimestamp = 0;

uint64_t verifyBlsSyncPatchTimestampS = 0;
uint64_t verifyBlsSyncPatchTimestamp = 0;

// If a BlockError analyzer is added to the queue
// its analyze(CommittedBlock _block) function will be run on commit
Expand Down

0 comments on commit 774f145

Please sign in to comment.