diff options
| author | Adam Soltys <[email protected]> | 2026-07-29 08:49:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-29 08:49:41 -0700 |
| commit | fa31fb2721910604abef73049c04b3f872d34a83 (patch) | |
| tree | e8b68c5f0982dabb56ac5bb67f1843193aeaa525 /src/features/sync.js | |
| parent | 0fb4b03b48bda2ba187d96d1feb4459716b8e73c (diff) | |
| download | coinosv3-fa31fb2721910604abef73049c04b3f872d34a83.tar.gz coinosv3-fa31fb2721910604abef73049c04b3f872d34a83.zip | |
Filter swap providers by network; guard cross-network selection
Tag each BOLTZ_PRESET with the network(s) it serves and add
boltzPresetsFor(net) so the provider dropdown only lists backends
valid for the active network — a mainnet wallet no longer shows the
local (regtest) or coinos-staging (mutinynet) backends. getBoltzProviderId()
now only honors a stored choice if it's valid for the current network,
so switching to mainnet can't silently keep using a regtest/mutinynet
backend, and the getBoltzProvider() fallback can no longer resolve to
staging. Also point the testnet default at custom (was the mainnet
Boltz API).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'src/features/sync.js')
0 files changed, 0 insertions, 0 deletions
