Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
psbt: sort maps before serializing, to stabilize comparison
Our psbt input/output comparison functions use serialization to compare the things, but if there's a map with things in it and the map isn't sorted exactly the same, it's highly likely you'll mark an identical inputs as different. To fix this, we sort all the input/output maps before linearizing them.
- Loading branch information