Repository navigation
feat: add get another address button while waiting for an on-chain payment - #2764
Conversation
…yment Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes #2763
Problem
On
/wallet/receive?type=onchain, once a payment to the current address is seen in the mempool, the page shows "Waiting for On-chain Confirmation..." with no way to get a new address. Reopening the page does not help: until the wallet syncs (about once a minute), the hub still returns the same paid address, so the waiting screen shows again.Change
Only
frontend/src/components/ReceiveToOnchain.tsx:Testing
Reproduced and checked on local regtest (bitcoind + Esplora + hub) with a headless browser script, sending an unconfirmed 100,000 sat payment:
Type check, ESLint and Prettier pass. The "Receive Another Payment" path after a confirmed payment was not tested.
Not included
frontend/src/screens/onchain/DepositBitcoin.tsxhas the same tracking code and the same stuck state; left out on purpose.🤖 Generated with Claude Code
Summary by CodeRabbit