Skip to content

Commit

Permalink
chore: fix minor typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Nov 7, 2023
1 parent 11dfdb5 commit fb64db7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ERTP/src/paymentLedger.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const preparePaymentLedger = (
* added to this WeakStore. If upgrading from a previous state with recovery
* sets, whether implicitly or explicitly, then this WeakStore should
* eventually become empty. But because this store is weak, the responsibility
* emptying it out lies elsewhere (purse.js).
* for emptying it out lies elsewhere (purse.js).
*
* @type {WeakMapStore<Payment, SetStore<Payment>>}
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/ERTP/src/purse.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const preparePurseKind = (
* `CLEANING_BUDGET` payments from `state.recoverySet`, to eventually clean it
* out. Then return `undefined`. Callers must be aware that the `undefined`
* return happens iff `recoverySetsState === 'noRecoverySets'`, and to avoid
* avoid storing or retrieving anything from the actual recovery set.
* storing or retrieving anything from the actual recovery set.
*
* @param {{ recoverySet: SetStore<Payment> }} state
* @returns {SetStore<Payment> | undefined}
Expand All @@ -89,7 +89,7 @@ export const preparePurseKind = (
// To avoid depending on that, this code does the incremental removal
// of payments from recovery sets here. Doing so means that the cleanup
// only happens when touched, which would be a potential problem if
// an idle purse's recovert set held onto a lot of unneeded payments.
// an idle purse's recovery set held onto a lot of unneeded payments.
// However, we currently only have this problem for quote issuers,
// which we know store minted payments only in the mintRecoveryPurse's
// recovery purse, which we also know to be perpetually active.
Expand Down

0 comments on commit fb64db7

Please sign in to comment.