Don't leak skShare in logs (#2662)

This commit is contained in:
Alexander Block 2019-01-30 14:05:04 +01:00 committed by GitHub
parent f6828b19b6
commit 6fe479aa12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -915,7 +915,7 @@ void CDKGSession::SendCommitment(CDKGPendingMessages& pendingMessages)
} }
t2.stop(); t2.stop();
logger.Batch("skShare=%s, pubKeyShare=%s", skShare.ToString(), skShare.GetPublicKey().ToString()); logger.Batch("pubKeyShare=%s", skShare.GetPublicKey().ToString());
cxxtimer::Timer t3(true); cxxtimer::Timer t3(true);
qc.quorumPublicKey = (*vvec)[0]; qc.quorumPublicKey = (*vvec)[0];