small fix

This commit is contained in:
fossephate 2023-05-30 19:29:33 -04:00
parent 3c524b2ea4
commit 5ac6df5d44

View file

@ -180,8 +180,7 @@ abstract class DefaultNodes {
enabled: true, enabled: true,
coinName: Coin.nano.name, coinName: Coin.nano.name,
isFailover: true, isFailover: true,
isDown: false isDown: false);
);
static NodeModel get banano => NodeModel( static NodeModel get banano => NodeModel(
host: "https://kaliumapi.appditto.com/api", host: "https://kaliumapi.appditto.com/api",
@ -192,8 +191,7 @@ abstract class DefaultNodes {
enabled: true, enabled: true,
coinName: Coin.banano.name, coinName: Coin.banano.name,
isFailover: true, isFailover: true,
isDown: false isDown: false);
);
static NodeModel get bitcoinTestnet => NodeModel( static NodeModel get bitcoinTestnet => NodeModel(
host: "bitcoin-testnet.stackwallet.com", host: "bitcoin-testnet.stackwallet.com",
@ -296,6 +294,9 @@ abstract class DefaultNodes {
case Coin.nano: case Coin.nano:
return nano; return nano;
case Coin.banano:
return banano;
case Coin.bitcoinTestNet: case Coin.bitcoinTestNet:
return bitcoinTestnet; return bitcoinTestnet;