Page MenuHomePhabricator

[Cashtab] Catch any errors that come up in creating the agora partial acceptTx
ClosedPublic

Authored by bytesofman on Jul 17 2025, 22:23.

Details

Summary

I have managed to hit this in dev / testing for getting the right fee calc (see D18380)

Add a try catch and a toast in case we have any errors trying to accept tx. We aim to have validation prevent this, but there could always be edge cases, esp as we look into getting right on the line with max buys.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
agora-catch-buy-errs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33905
Build 67280: Build Diffcashtab-tests
Build 67279: arc lint + arc unit