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

Improve messaging if insufficient funds #300

Open
radicleart opened this issue Nov 3, 2023 · 1 comment
Open

Improve messaging if insufficient funds #300

radicleart opened this issue Nov 3, 2023 · 1 comment

Comments

@radicleart
Copy link
Collaborator

radicleart commented Nov 3, 2023

See Discord

Anyone getting this message? I’ve tried disconnecting and reconnecting my wallet numerous times. Same issue every time.
IMG_6580

cHNidP8BAP0nAQIAAAADZAHuUpd1XI+tquAt3aJkJ2mdg2AMGQjwdh70PVJZ3wsDAAAAAP////9kAe5Sl3Vcj62q4C3domQnaZ2DYAwZCPB2HvQ9UlnfCwEAAAAA/////8jgEfK7d6xFAn7fOH+tiCU91Hu0f7MOTS2V62uAjQpeAgAAAAD/////AwAAAAAAAAAAT2pMTFQyPgAAAAAAACcQAffln3RVEkomoin7hoxrlMZ9RhSP2H7Mulmnsmz6urT9P8lkqViLlyuHAPUe1YkpLrRLHYkWiI1lcfjq2yxh0aj0AQAAAAAAABYAFET7tQpwOwZgSxcCH8VdJXLk/Ldn0AcAAAAAAAAiUSCAqHQZpktIAXBvqNTNoJ3ntiobaKKnD10HanzQ8fv+IwAAAAAAAQEfJgIAAAAAAAAWABRE+7UKcDsGYEsXAh/FXSVy5Py3ZwABAR/0AQAAAAAAABYAFET7tQpwOwZgSxcCH8VdJXLk/LdnAAEBH80CAAAAAAAAFgAURPu1CnA7BmBLFwIfxV0lcuT8t2cAAAAA

Hey @BTCX , thanks for bearig with me.

I looked at this PSBT using bitcoin code -> console -> decodepsbt .

Looks like there are insufficient funds in your wallet. The tx is consuming three utxos with
0.00000550, 0.00000500, 0.00000717 = 1767 satoshis. The withdraw requires fees for paying the for the request and for the upstream transaction fulfillment (the tx that returns your funds) . The cost is 2500 sats. so the failure is that there is not enough sats in your wallet to pay the fees.

I'll create an issue on the bridge to improve the messaging for this scenario. If you need some testnet btc to get beyond this let me know and i'll send some to your tb1qgnam2zns8vrxqjchqg0u2hf9wtj0edm8r0wlp3 address ?

@Macxim
Copy link
Collaborator

Macxim commented Nov 7, 2023

Also, this should probably be displayed in an Alert component.

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

No branches or pull requests

2 participants