Do not log SigningKey seed, prefix, s, as part of impl Debug (#70)

This commit is contained in:
Deirdre Connolly 2023-03-09 09:36:09 -05:00 committed by GitHub
parent c079b0e507
commit e47a986a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -23,9 +23,6 @@ pub struct SigningKey {
impl core::fmt::Debug for SigningKey {
fn fmt(&self, fmt: &mut core::fmt::Formatter) -> core::fmt::Result {
fmt.debug_struct("SigningKey")
.field("seed", &hex::encode(&self.seed))
.field("s", &self.s)
.field("prefix", &hex::encode(&self.prefix))
.field("vk", &self.vk)
.finish()
}