-
Notifications
You must be signed in to change notification settings - Fork 146
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
feat: implement double checking for spendable utxos #4893
Conversation
dee9b84
to
93f65d9
Compare
src/app/query/bitcoin/transaction/use-bitcoin-broadcast-transaction.ts
Outdated
Show resolved
Hide resolved
src/app/pages/send/send-crypto-asset-form/form/btc/btc-send-form-confirmation.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to be labeled ready for review?
src/app/query/bitcoin/transaction/use-bitcoin-broadcast-transaction.ts
Outdated
Show resolved
Hide resolved
9f37da3
to
614e81e
Compare
await refetchOrdInscriptionsList(); | ||
const ordinalsComResponses = await Promise.all( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to use allSettled
here? What if one fails?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need to wait till all settled? I believe if one request fails - we can process error immediately
3a85a2c
to
49fe18f
Compare
9d0e937
to
d6847cb
Compare
d5dd0e6
to
1a64289
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @alter-eggo
In the BTC send flow we filter spendable utxo using Hiro API, in order to double check spendable utxos on the last step of tx flow we fetch inscriptions by utxo id using bestinslot api