fix: upgrade library to validate psbt #264
Draft
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.
Validate that the signed psbt is valid
look at this inscription, 26482871f33f1051f450f2da9af275794c0b5f1c61ebf35e4467fb42c2813403i0
if the psbt is invalid, we should not show it for buy.
In this branch, it shouldn't be show as listed.
With fix:
![Screenshot 2023-07-11 at 17 35 43](https://private-user-images.githubusercontent.com/97211514/252817558-a46c82fe-1b0b-4090-b152-5a1efb83ca41.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDQwOTMsIm5iZiI6MTczOTAwMzc5MywicGF0aCI6Ii85NzIxMTUxNC8yNTI4MTc1NTgtYTQ2YzgyZmUtMWIwYi00MDkwLWIxNTItNWExZWZiODNjYTQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA4MzYzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5YmY5MGI4MWY4NzMxNzgxM2YxOTkzMDVlODQ5NWIwOWFjZGYzMTVjZDYzMzJlNTViMjUzNTAyYTIwZjc5N2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.91DTRr5_6yQSmZKN9JUzOf7KFoD_Wikfkifpjfn8TqQ)