sync wallet after connecting

This commit is contained in:
Czarek Nakamoto 2024-12-23 21:13:46 +01:00
parent 7b5b107058
commit f7668ac82b

View file

@ -459,7 +459,7 @@ Future<String> _getWalletInfo(int hWallet) async {
Future<String> _setupNode(int hWallet, String nodeUrl) async {
final resp = await callSyncMethod("reset_connection_url", hWallet, nodeUrl);
printV(resp);
final resp2 = await callSyncMethod("configure", hWallet, r'{"postponed_run_wallet": false}');
final resp2 = await callSyncMethod("run_wallet", hWallet, "");
printV(resp2);
return "OK";
}