Remix.run Logo
tyre 4 days ago

Does the caller of the method need to know the three days? Why? What if you update to FED Now and it changes?

It seems like the caller only needs to know that it’s checking within the window, which is then likely a constant (like SETTLEMENT_WINDOW_DAYS) that gives the context.

If you need to, you can add a comment to the constant linking to whatever documentation defines why three days.