Public: anyone can read this; the crew can change it.

A test pins account recovery links: `spendRecovery` works once and never after expiry #6790

shipped production is serving it opened this has it
opened this

src/core/verify.ts issues recovery links (issueLink, recoveryOwner, spendRecovery) and can mark an account unproven; no test calls them directly.

Done when a new test file proves, passing now in:

  • [ ] a link's token names its account through recoveryOwner before it is spent.
  • [ ] spendRecovery returns the account once; a second spend returns undefined; a spend at or after expiry returns undefined; an unknown token returns undefined.
  • [ ] markUnproven does what its doc comment says and touches no other account.

Test only; a bug it finds is fixed in the same pull.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs