always update /keys before autorefresh
This commit is contained in:
parent
87749371dd
commit
d0088323ce
@ -90,6 +90,8 @@ runTest(async (t: GlobalTestState) => {
|
||||
merchant,
|
||||
});
|
||||
|
||||
await wallet.runUntilDone();
|
||||
|
||||
let p: PendingOperationsResponse;
|
||||
p = await wallet.getPendingOperations();
|
||||
|
||||
|
@ -51,6 +51,7 @@ runTest(async (t: GlobalTestState) => {
|
||||
|
||||
await exchange.stop();
|
||||
exchange.setTimetravel(timetravelDuration);
|
||||
await exchange.keyup();
|
||||
await exchange.start();
|
||||
await exchange.pingUntilAvailable();
|
||||
|
||||
|
@ -678,6 +678,7 @@ export async function autoRefresh(
|
||||
ws: InternalWalletState,
|
||||
exchangeBaseUrl: string,
|
||||
): Promise<void> {
|
||||
await updateExchangeFromUrl(ws, exchangeBaseUrl, true);
|
||||
await ws.db.runWithWriteTransaction(
|
||||
[
|
||||
Stores.coins,
|
||||
|
Loading…
Reference in New Issue
Block a user