Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore duplicate consumed inputs #257

Merged
merged 1 commit into from
May 12, 2023

Conversation

jmhrpr
Copy link
Member

@jmhrpr jmhrpr commented May 7, 2023

Before ledger version 9 the chain allowed duplicate entries when decoding Sets, for example the inputs of a transaction. This fix stops returning duplicate entries in the transaction inputs returned by the consumes() function for MultiEraTxs.

@jmhrpr jmhrpr requested a review from scarmuega May 7, 2023 17:25
@scarmuega scarmuega merged commit 36df92f into txpipe:main May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants