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

Fix bug in commit_store get_batch_by_transaction - #176

Merged
vaporos merged 2 commits into
hyperledger-archives:mainfrom
suchapalaver:fix/fix-bug-in-commit-store-get-batch-by-transaction-method
Oct 10, 2023
Merged

Fix bug in commit_store get_batch_by_transaction#176
vaporos merged 2 commits into
hyperledger-archives:mainfrom
suchapalaver:fix/fix-bug-in-commit-store-get-batch-by-transaction-method

Conversation

@suchapalaver

@suchapalaver suchapalaver commented Oct 10, 2023

Copy link
Copy Markdown
Contributor

This PR fixes a bug in the sawtooth_validator::journal::commit_store::CommitStore's get_batch_by_transaction method, which heretofore returned the first batch that does not contain the provided transaction_id argument without any error.

Original work
See also: hyperledger/sawtooth-core PR#2458


Signed-off-by: Joseph Livesey jlivesey@gmail.com

Signed-off-by: Joseph Livesey <jlivesey@gmail.com>
Signed-off-by: Joseph Livesey <jlivesey@gmail.com>
@suchapalaver
suchapalaver force-pushed the fix/fix-bug-in-commit-store-get-batch-by-transaction-method branch from 992ccad to 10b4c5f Compare October 10, 2023 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants