mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
fix failing casts
This commit is contained in:
parent
af15f89d38
commit
89c84a44b4
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ class EpicBoxConfigModel {
|
|||
_epicBox['epicbox_address_index'] = _epicBox['address_index'];
|
||||
}
|
||||
|
||||
_epicBox['epicbox_protocol_insecure'] ??= false;
|
||||
_epicBox['epicbox_address_index'] ??= 0;
|
||||
|
||||
return EpicBoxConfigModel(
|
||||
host: _epicBox['epicbox_domain'] as String,
|
||||
port: _epicBox['epicbox_port'] as int,
|
||||
|
|
Loading…
Reference in a new issue