Skip to content

fix(cash): use relaxed timeout on exchange rate retry in GiveBillTransactor#899

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/bill-exchange-timeout
Jun 13, 2026
Merged

fix(cash): use relaxed timeout on exchange rate retry in GiveBillTransactor#899
bmc08gt merged 1 commit into
code/cashfrom
fix/bill-exchange-timeout

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

The retry path in start() resolved a fresh VerifiedState but still applied the strict billExchangeDataTimeout to it. When the server's rate timestamp was already possibly older than timeout (common after backgrounding), the freshly-fetched rate also failed the check.

Now the retry passes null for billExchangeDataTimeout, falling back to the default 15-minute window. The initial check still uses the strict timeout — the relaxation only applies after we've just fetched fresh data via resolveVerifiedState.

Closes: Bugsnag 6a1bd94017b0f7c09452ffd7

…sactor

The retry path in start() resolved a fresh VerifiedState but still
applied the strict billExchangeDataTimeout (30s) to it. When the
server's rate timestamp was already >30s old (common after backgrounding),
the freshly-fetched rate also failed the check.

Now the retry passes null for billExchangeDataTimeout, falling back to
the default 15-minute window. The initial check still uses the strict
timeout — the relaxation only applies after we've just fetched fresh
data via resolveVerifiedState.

Closes: Bugsnag 6a1bd94017b0f7c09452ffd7

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this Jun 13, 2026
@github-actions github-actions Bot added area: network gRPC, connectivity, API, exchange rates type: fix Bug fix labels Jun 13, 2026
@bmc08gt bmc08gt merged commit fa408af into code/cash Jun 13, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/bill-exchange-timeout branch June 13, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network gRPC, connectivity, API, exchange rates type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant