summaryrefslogtreecommitdiff
path: root/src/operations/exchanges.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/exchanges.ts')
-rw-r--r--src/operations/exchanges.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/operations/exchanges.ts b/src/operations/exchanges.ts
index a9e5158e9..6f5ff1d30 100644
--- a/src/operations/exchanges.ts
+++ b/src/operations/exchanges.ts
@@ -301,6 +301,7 @@ async function updateExchangeFinalize(
if (r.updateStatus != ExchangeUpdateStatus.FinalizeUpdate) {
return;
}
+ r.addComplete = true;
r.updateStatus = ExchangeUpdateStatus.Finished;
await tx.put(Stores.exchanges, r);
const updateEvent: ExchangeUpdatedEventRecord = {
@@ -485,6 +486,8 @@ async function updateExchangeFromUrlImpl(
if (!r) {
const newExchangeRecord: ExchangeRecord = {
builtIn: false,
+ addComplete: false,
+ permanent: true,
baseUrl: baseUrl,
details: undefined,
wireInfo: undefined,