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 Mar 1, 2019
1 parent 5c84cab commit ea90296
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 @@ -466,7 +466,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 @@ -601,7 +601,7 @@ bool CSigSharesManager::ProcessPendingSigShares(CConnman& connman)
}
}

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

Expand Down

0 comments on commit ea90296

Please sign in to comment.