Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 52c48ed

Browse files
committed
fixes #756
1 parent 80ecef2 commit 52c48ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ledger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Block for [Entry] {
4444
serialize_into(&mut out, &entry).expect("failed to serialize output");
4545
out.position() as usize
4646
};
47-
assert!(pos < BLOB_DATA_SIZE);
47+
assert!(pos <= BLOB_DATA_SIZE);
4848
blob.write().unwrap().set_size(pos);
4949
q.push_back(blob);
5050
}

0 commit comments

Comments
 (0)