fix last commit

This commit is contained in:
Boog900
2023-05-30 17:29:25 +01:00
parent 76f5c23b7f
commit b014a78e3c
3 changed files with 5 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ impl RctPrunable {
pub(crate) fn signature_write<W: Write>(&self, w: &mut W) -> io::Result<()> {
match self {
RctPrunable::Null => panic!("Serializing RctPrunable::Null for a signature"),
RctPrunable::BulletProof {..} => todo!(),
RctPrunable::BulletProof { .. } => todo!(),
RctPrunable::Clsag { bulletproofs, .. } => {
bulletproofs.iter().try_for_each(|bp| bp.signature_write(w))
}

View File

@@ -701,6 +701,9 @@ impl SignableTransaction {
clsags.append(&mut clsag_pairs.iter().map(|clsag| clsag.0.clone()).collect::<Vec<_>>());
pseudo_outs.append(&mut clsag_pairs.iter().map(|clsag| clsag.1).collect::<Vec<_>>());
}
RctPrunable::BulletProof { .. } => {
todo!()
}
}
Ok(tx)
}

View File

@@ -429,6 +429,7 @@ impl SignatureMachine<Transaction> for TransactionSignatureMachine {
pseudo_outs.push(pseudo_out);
}
}
RctPrunable::BulletProof { .. } => todo!(""),
}
Ok(tx)
}