Update Epicbox config to match latest epic version

This commit is contained in:
likho 2023-02-03 20:34:19 +02:00
parent d4cbf035fe
commit e3101d98af
2 changed files with 8 additions and 4 deletions

View file

@ -1271,8 +1271,10 @@ class EpicCashWallet extends CoinServiceAPI
Future<void> updateEpicboxConfig(String host, int port) async {
String stringConfig = jsonEncode({
"domain": host,
"port": port,
"epicbox_domain": host,
"epicbox_port": port,
"epicbox_protocol_unsecure": false,
"epicbox_address_index": 0,
});
await _secureStore.write(
key: '${_walletId}_epicboxConfig', value: stringConfig);

View file

@ -257,7 +257,9 @@ abstract class DefaultNodes {
}
static final String defaultEpicBoxConfig = jsonEncode({
"domain": "209.127.179.199",
"port": 13420,
"epicbox_domain": "epicbox.epic.tech",
"epicbox_port": 443,
"epicbox_protocol_unsecure": false,
"epicbox_address_index": 0,
});
}