Skip to content

fix(direct-send): pass token balance to verified fiat calculator#837

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/direct-send-balance-capping
Jun 3, 2026
Merged

fix(direct-send): pass token balance to verified fiat calculator#837
bmc08gt merged 1 commit into
code/cashfrom
fix/direct-send-balance-capping

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

The direct send flow was not passing the token balance to verifiedFiatCalculator.compute(), so the calculator's balance capping logic never fired. This caused submit intent failures when a user tried to send back a small received amount in a different currency (e.g. 0.01 CAD displayed as 0.01 USD when the actual USD value was ~0.007).

The direct send flow was not passing the token balance to
verifiedFiatCalculator.compute(), so the calculator's balance
capping logic never fired. This caused submit intent failures
when a user tried to send back a small received amount in a
different currency (e.g. 0.01 CAD displayed as 0.01 USD when
the actual USD value was ~0.007).

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this Jun 3, 2026
@bmc08gt bmc08gt merged commit cb3f94d into code/cash Jun 3, 2026
3 checks passed
@github-actions github-actions Bot added the type: fix Bug fix label Jun 3, 2026
@bmc08gt bmc08gt deleted the fix/direct-send-balance-capping branch June 3, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant