Skip to content

Commit 4d21738

Browse files
committed
deprecate StmSigRegParty
1 parent 5b5c3b6 commit 4d21738

File tree

1 file changed

+3
-3
lines changed
  • mithril-common/src/crypto_helper/codec

1 file changed

+3
-3
lines changed

mithril-common/src/crypto_helper/codec/binary.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ mod binary_mithril_stm {
3838
use digest::consts::U32;
3939
use mithril_stm::{
4040
AggregateSignature, AggregateVerificationKey, Initializer, Parameters, SingleSignature,
41-
StmSigRegParty, VerificationKey, VerificationKeyProofOfPossession,
41+
SingleSignatureWithRegisteredParty, VerificationKey, VerificationKeyProofOfPossession,
4242
};
4343

4444
use super::*;
@@ -69,13 +69,13 @@ mod binary_mithril_stm {
6969
}
7070
}
7171

72-
impl TryToBytes for StmSigRegParty {
72+
impl TryToBytes for SingleSignatureWithRegisteredParty {
7373
fn to_bytes_vec(&self) -> StdResult<Vec<u8>> {
7474
Ok(self.to_bytes().to_vec())
7575
}
7676
}
7777

78-
impl TryFromBytes for StmSigRegParty {
78+
impl TryFromBytes for SingleSignatureWithRegisteredParty {
7979
fn try_from_bytes(bytes: &[u8]) -> StdResult<Self> {
8080
Self::from_bytes::<D>(bytes).map_err(|e| e.into())
8181
}

0 commit comments

Comments
 (0)