Actually start the timers for sig share and recSig verification (#2730)

Was wondering why verification was always 0ms...this explains it :)
This commit is contained in:
Alexander Block 2019-03-01 08:21:28 +01:00 committed by GitHub
parent 5c84cab0f1
commit ea90296b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ bool CSigningManager::ProcessPendingRecoveredSigs(CConnman& connman)
}
}
cxxtimer::Timer verifyTimer;
cxxtimer::Timer verifyTimer(true);
batchVerifier.Verify();
verifyTimer.stop();

View File

@ -601,7 +601,7 @@ bool CSigSharesManager::ProcessPendingSigShares(CConnman& connman)
}
}
cxxtimer::Timer verifyTimer;
cxxtimer::Timer verifyTimer(true);
batchVerifier.Verify();
verifyTimer.stop();