feat(gui): Switch to up-to-date asb, if current one is outdated (#189)

This commit is contained in:
binarybaron 2024-11-17 23:14:36 +01:00 committed by GitHub
parent ba0b7ac893
commit aa81f3c588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 40 additions and 34 deletions

View file

@ -11,7 +11,7 @@ export function providerToConcatenatedMultiAddr(provider: Provider) {
.toString();
}
export function isProviderCompatible(
export function isProviderOnCorrectNetwork(
provider: ExtendedProviderStatus,
): boolean {
return provider.testnet === isTestnet();