Closed
Conversation
Collaborator
|
I'm not sure why |
Member
+1. Making the map public causes weird inconsistencies and bugs as listed #576. |
Member
|
Oh this is my mistake, the issue linked above that I worked off of when making
I'll do that. |
Member
|
Thanks @JeremyRubin for catching this. |
sanket1729
added a commit
that referenced
this pull request
Feb 28, 2022
5e24499 Separate merge logic out of Map trait (Tobin Harding) Pull request description: Recently we (*cough* Tobin) made the `Map` trait private and neglected to add a public API for merging together two PSBTs. Doing so broke the `psbt` module. Add a public trait `Merge` and implement it for `PartiallySignedTransaction` using the code currently in the `merge` method of the now private `Map` trait. Motivated by #841 ACKs for top commit: JeremyRubin: > ACK 5e24499 apoelstra: ACK 5e24499 sanket1729: ACK 5e24499. Also verified that the vectors are same of that of BIP174 Tree-SHA512: 79eefe93e870b61231b388aa28a95ee5c8ac06b68910f4ff324569512a79eafe5b86239fd45f54ca7a868cf59dc6301e45d1f046c039a64b2493a8ffcea659fd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It seems like it is a clear mistake for the Map trait to not be externally visible since PSBTs cannot be merged otherwise.
This should be blocking for release!