Update procesor/correct prior commit

This commit is contained in:
Luke Parker
2023-03-25 04:06:25 -04:00
parent 839734354a
commit 9157f8d0a0
11 changed files with 64 additions and 45 deletions

View File

@@ -140,9 +140,9 @@ impl Metadata {
/// A received output, defined as its absolute ID, data, and metadara.
#[derive(Clone, PartialEq, Eq, Debug, Zeroize, ZeroizeOnDrop)]
pub struct ReceivedOutput {
pub(crate) absolute: AbsoluteId,
pub(crate) data: OutputData,
pub(crate) metadata: Metadata,
pub absolute: AbsoluteId,
pub data: OutputData,
pub metadata: Metadata,
}
impl ReceivedOutput {

View File

@@ -550,7 +550,7 @@ impl SignableTransaction {
let mut serialized = Vec::with_capacity(extra_len);
extra.write(&mut serialized).unwrap();
debug_assert_eq!(extra_len, extra);
debug_assert_eq!(extra_len, serialized.len());
serialized
}