Skip to content

Commit

Permalink
Actually start the timers for sig share and recSig verification (#2730)
Browse files Browse the repository at this point in the history
Was wondering why verification was always 0ms...this explains it :)
  • Loading branch information
codablock authored and panleone committed Oct 29, 2024
1 parent 71092e0 commit d1084e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/llmq/quorums_signing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ bool CSigningManager::ProcessPendingRecoveredSigs(CConnman& connman)
}
}

cxxtimer::Timer verifyTimer;
cxxtimer::Timer verifyTimer(true);
batchVerifier.Verify();
verifyTimer.stop();

Expand Down
2 changes: 1 addition & 1 deletion src/llmq/quorums_signing_shares.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ bool CSigSharesManager::ProcessPendingSigShares(CConnman& connman)
}
}

cxxtimer::Timer verifyTimer;
cxxtimer::Timer verifyTimer(true);
batchVerifier.Verify();
verifyTimer.stop();

Expand Down

0 comments on commit d1084e0

Please sign in to comment.