The header comment at the top of src/shared/tokenList.js reads:
// 511 tokens.
TOKENS actually has 512 entries (512 address: keys, 512 unique addresses).
The list went from 511 to 512 in commit aca8c4b ("Add name and url fields to
all 512 tokens in tokenList.js") without the header being updated.
Same class of defect as #239, which fixed the five
documentation locations; that unit was scoped docs-only and could not touch a .js file, so the in-code comment was left.
Definition of done
The header comment agrees with the length of TOKENS, or states no count
at all.
make check passes.
The header comment at the top of `src/shared/tokenList.js` reads:
// 511 tokens.
`TOKENS` actually has 512 entries (512 `address:` keys, 512 unique addresses).
The list went from 511 to 512 in commit `aca8c4b` ("Add name and url fields to
all 512 tokens in tokenList.js") without the header being updated.
Same class of defect as
https://git.eeqj.de/sneak/AutistMask/issues/239, which fixed the five
documentation locations; that unit was scoped docs-only and could not touch a
`.js` file, so the in-code comment was left.
## Definition of done
- [ ] The header comment agrees with the length of `TOKENS`, or states no count
at all.
- [ ] `make check` passes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The header comment at the top of
src/shared/tokenList.jsreads:TOKENSactually has 512 entries (512address:keys, 512 unique addresses).The list went from 511 to 512 in commit
aca8c4b("Add name and url fields toall 512 tokens in tokenList.js") without the header being updated.
Same class of defect as
#239, which fixed the five
documentation locations; that unit was scoped docs-only and could not touch a
.jsfile, so the in-code comment was left.Definition of done
TOKENS, or states no countat all.
make checkpasses.Closing: the header of
src/shared/tokenList.jsno longer states a count.model: claude-fable-5