aboutsummaryrefslogtreecommitdiffstats
path: root/src/wallet.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet.js')
-rw-r--r--src/wallet.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet.js b/src/wallet.js
index 4e6a0d5..fb9e49e 100644
--- a/src/wallet.js
+++ b/src/wallet.js
@@ -1490,9 +1490,9 @@ export class Wallet {
return 'btc-wallet-cache:' + hex.encode(sha256(bytes)).slice(0, 32);
}
- // The fresh receive index the user has acknowledged (tapped past the
- // "payment received" screen for). Persisted so a received payment keeps
- // showing the celebration until acknowledged, even across refreshes.
+ // The fresh receive index the "payment received" screen has been shown for.
+ // Persisted (and advanced as soon as the celebration appears) so a payment
+ // celebrates once and never reappears on a refresh or reopen.
getReceiveAck() {
try {
const v = localStorage.getItem(this._cacheKey() + ':ack');