Skip to content

Commit

Permalink
don't fail on empty transaction logs
Browse files Browse the repository at this point in the history
  • Loading branch information
janstarke committed Mar 9, 2024
1 parent 7849fc2 commit db8cbbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nt_hive2"
version = "4.0.1"
version = "4.0.2"
edition = "2021"
authors = ["Jan Starke <[email protected]>", "Muteb Alqahtani <[email protected]>"]
license = "GPL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/transactionlog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct TransactionLog {
#[br(try, args(FileType::TransactionLogVariant3,))]
base_block: Option<HiveBaseBlock>,

#[br(parse_with=read_log_entries, assert(!log_entries.is_empty()))]
#[br(parse_with=read_log_entries)]
log_entries: Vec<TransactionLogsEntry>
}

Expand Down

0 comments on commit db8cbbb

Please sign in to comment.