mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-17 09:46:39 +01:00
fix: Node Issues (#2498)
- Allow adding new nodes without port - Replace default port number for empty string when there's no port added
This commit is contained in:
@@ -71,8 +71,7 @@ abstract class NodeCreateOrEditViewModelBase with Store {
|
||||
|
||||
@computed
|
||||
bool get isReady =>
|
||||
(address.isNotEmpty && port.isNotEmpty) ||
|
||||
_walletType == WalletType.decred; // Allow an empty address.
|
||||
(address.isNotEmpty) || _walletType == WalletType.decred; // Allow an empty address.
|
||||
|
||||
bool get hasAuthCredentials =>
|
||||
_walletType == WalletType.monero || _walletType == WalletType.wownero || _walletType == WalletType.haven;
|
||||
|
||||
Reference in New Issue
Block a user