mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
Removed NodeSSL, added isSSL proprty to Node class.
This commit is contained in:
@@ -43,6 +43,8 @@ class Node extends HiveObject with Keyable {
|
||||
@HiveField(4)
|
||||
bool useSSL;
|
||||
|
||||
bool get isSSL => useSSL ?? false;
|
||||
|
||||
@override
|
||||
dynamic get keyIndex {
|
||||
_keyIndex ??= key;
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import 'package:cake_wallet/entities/node.dart';
|
||||
|
||||
class NodeSSL {
|
||||
NodeSSL(this._node) :
|
||||
_useSSL = _node.useSSL ?? false;
|
||||
|
||||
final Node _node;
|
||||
final bool _useSSL;
|
||||
|
||||
bool get useSSL => _useSSL;
|
||||
}
|
||||
Reference in New Issue
Block a user