restored OldV1Credential::as_bytes to be available to non-test code

This commit is contained in:
Jędrzej Stuczyński
2024-02-09 10:14:34 +00:00
parent 2638952f5a
commit 78e1d84905
-1
View File
@@ -48,7 +48,6 @@ impl TryFrom<OldV1Credential> for CredentialSpendingWithEpoch {
}
impl OldV1Credential {
#[cfg(test)]
pub fn as_bytes(&self) -> Vec<u8> {
let n_params_bytes = self.n_params.to_be_bytes();
let theta_bytes = self.theta.to_bytes();