Skip to content

fix(finance): routingNumber now uses real FederalReserveRoutingSymbol from lookup table.#3429

Open
woldaker wants to merge 8 commits intofaker-js:nextfrom
woldaker:fix/finance/routingNumber_#3290
Open

fix(finance): routingNumber now uses real FederalReserveRoutingSymbol from lookup table.#3429
woldaker wants to merge 8 commits intofaker-js:nextfrom
woldaker:fix/finance/routingNumber_#3290

Conversation

@woldaker
Copy link
Copy Markdown

@woldaker woldaker commented Mar 1, 2025

Fixes #3290


finance.routingNumber is now comprised as follows:

Digits 0-3 = Pulled from locales/base/finance/federal_reserve_routing_symbol.ts
Digits 4-7 = Random
Digit 8 = Check digit. Calculated from the previous 8 digits as before.

Added more test conditions to the randomly-seeded finance.routingNumber test.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: bug Something isn't working m: finance Something is referring to the finance module p: 1-normal Nothing urgent s: needs decision Needs team/maintainer decision

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix finance.routingNumber() implementation

4 participants