mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
Update Epicbox config to match latest epic version
This commit is contained in:
parent
d4cbf035fe
commit
e3101d98af
2 changed files with 8 additions and 4 deletions
|
@ -1271,8 +1271,10 @@ class EpicCashWallet extends CoinServiceAPI
|
||||||
|
|
||||||
Future<void> updateEpicboxConfig(String host, int port) async {
|
Future<void> updateEpicboxConfig(String host, int port) async {
|
||||||
String stringConfig = jsonEncode({
|
String stringConfig = jsonEncode({
|
||||||
"domain": host,
|
"epicbox_domain": host,
|
||||||
"port": port,
|
"epicbox_port": port,
|
||||||
|
"epicbox_protocol_unsecure": false,
|
||||||
|
"epicbox_address_index": 0,
|
||||||
});
|
});
|
||||||
await _secureStore.write(
|
await _secureStore.write(
|
||||||
key: '${_walletId}_epicboxConfig', value: stringConfig);
|
key: '${_walletId}_epicboxConfig', value: stringConfig);
|
||||||
|
|
|
@ -257,7 +257,9 @@ abstract class DefaultNodes {
|
||||||
}
|
}
|
||||||
|
|
||||||
static final String defaultEpicBoxConfig = jsonEncode({
|
static final String defaultEpicBoxConfig = jsonEncode({
|
||||||
"domain": "209.127.179.199",
|
"epicbox_domain": "epicbox.epic.tech",
|
||||||
"port": 13420,
|
"epicbox_port": 443,
|
||||||
|
"epicbox_protocol_unsecure": false,
|
||||||
|
"epicbox_address_index": 0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue