mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-18 01:54:29 -05:00
feat(gui): Switch to up-to-date asb, if current one is outdated (#189)
This commit is contained in:
parent
ba0b7ac893
commit
aa81f3c588
3 changed files with 40 additions and 34 deletions
|
|
@ -11,7 +11,7 @@ export function providerToConcatenatedMultiAddr(provider: Provider) {
|
|||
.toString();
|
||||
}
|
||||
|
||||
export function isProviderCompatible(
|
||||
export function isProviderOnCorrectNetwork(
|
||||
provider: ExtendedProviderStatus,
|
||||
): boolean {
|
||||
return provider.testnet === isTestnet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue