From 63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 9 Jul 2020 18:56:18 +0530 Subject: android APIs for withdrawal and exchange listing --- src/operations/exchanges.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/operations') 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, -- cgit v1.2.3