minibits-cash / minibits_wallet

MIT License
55 stars 6 forks source link

Not enough inbound liqidity followed by missing inbound transaction #68

Open chGoodchild opened 2 months ago

chGoodchild commented 2 months ago

Is the mint facing issues? How can these transactions be debugged?

minibits-cash commented 1 month ago

Hello, thank you for your report. Could you provide the audit trail of relevant transactions (you'll find it in transaction detail at the bottom) to grasp what and whose was the exact error shown. Thank you!

chGoodchild commented 3 weeks ago

Thanks for getting back to me :)

Here is the audit trail for the larger transaction:

[{"status":"DRAFT","amountToTopup":86000,"createdAt":"2024-05-07T13:55:10.367Z"},{"status":"PENDING","paymentRequest":{"type":"OUTGOING","status":"ACTIVE","mint":"https://mint.minibits.cash/Bitcoin","encodedInvoice":"lnbc860u1pnr5v4app5wel3pdk28z5qa4p8cu0upejwap9mtuf7gslaej4p2dttg44a6p6qdq2f38xy6t5wvcqzzsxqrpcgsp5wcx3n253tknzsqpggrnjd3ttegltv5zs0gftyk6pvg7y7dewdsfs9qyyssqnax95zrcsntn6kz5cm3u8y9v7796uy258vxpe2trpjhj324mtjxk4k87y9qwdxzrw08l0vp48gkuxeskc7hz9eeqfwre6tk7d9vf9jqp20celm","amount":86000,"description":"Phoenix ","paymentHash":"tixkbSYixaGUtZL_aSiQd8JfTmVoLJ0Kg2xnpxYa","contactFrom":{"pubkey":"941f1f030d086c62144a132e1a821a1205767fbe98e7970f7054395f2ef16409","npub":"npub1js037qcdppkxy9z2zvhp4qs6zgzhvla7nrnewrms2su47th3vsys0825vq","name":"chandran","nip05":"chandran@minibits.cash","picture":"https://api.minibits.cash/profile/avatar/941f1f030d086c62144a132e1a821a1205767fbe98e7970f7054395f2ef16409"},"expiry":1800,"transactionId":125,"expiresAt":1715091909000,"createdAt":1715090109000}},{"status":"EXPIRED","message":"Invoice expired before being paid.","createdAt":"2024-05-07T15:47:05.884Z"}]

Unfortunately I don't see any sign of the smaller LNURL transaction.

I have attached a screenshot of a popup I get when updating the app. Not sure if the pop-up is related..

signal-2024-06-16-17-22-41-086.jpg

Thanks for helping :)

chGoodchild commented 3 weeks ago

This must be the pre-image of the lightning payment from Alby to the mini-bits LNURL.

The SATs don't show up in minibits or in Alby:

Preimage
9f7d14c232793ad5e27257dc39bd88dd6f87764550a47cc1ecf86a90cff0aeca
Payment Hash
57d0c600abdf239853f72d0e30a73a98ad1638376f9ae8ed19f0836993bc22ab
minibits-cash commented 3 weeks ago

Screenshot helped. Go to the Settings > Backup and recovery. Copy your seed first and then go through "Recover wallet address". It will reset profile data so that the claiming of payments recieved to lightning address resume to work.

chGoodchild commented 2 weeks ago

Thanks, LNURL payments are coming through again :)

Unfortunately the payment from a few weeks ago didn't arrive yet. Is it safe to assume that the SATs went back to the sender after two weeks?

minibits-cash commented 2 weeks ago

I'll check today the state of 86k invoice and come back.

minibits-cash commented 2 weeks ago

86k payment failed based on lightning node data, so sats remained in sender wallet. payment_lnd

chGoodchild commented 1 week ago

Thanks for checking :)

So the SATs are with the mint now?

minibits-cash commented 1 week ago

As 86k lightning payment did not complete, sats remained in sender wallet. Mint issues new ecash only against completed lightning payment.