Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit aa76655

Browse files
committed
Fix bug in commit_store get_batch_by_transaction
Signed-off-by: Joseph Livesey <[email protected]>
1 parent aaacf8b commit aa76655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsawtooth/src/journal/commit_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl CommitStore {
324324
.batches()
325325
.iter()
326326
.find(|batch| {
327-
!batch
327+
batch
328328
.transactions()
329329
.iter()
330330
.any(|txn| txn.header_signature() == transaction_id)

0 commit comments

Comments
 (0)