Skip to content

Commit

Permalink
f - fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Jan 24, 2023
1 parent 14a58ec commit e12b0a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fuzz/src/invoice_deser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ use std::convert::TryFrom;

#[inline]
pub fn do_test<Out: test_logger::Output>(data: &[u8], _out: Out) {
// Only check that de-serialization works; serialization simply copies the de-serialized bytes,
// so no need to check the full round trip.
// Serialization simply copies the de-serialized bytes, so no need to check the full round trip.
if let Ok(invoice) = Invoice::try_from(data.to_vec()) {
let mut bytes = Vec::with_capacity(data.len());
invoice.write(&mut bytes).unwrap();
Expand Down

0 comments on commit e12b0a0

Please sign in to comment.