aboutsummaryrefslogtreecommitdiff
path: root/src/operations
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
commit63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02 (patch)
tree18d0a1f92b8b48abec3d66b10a56d23212d7d81b /src/operations
parent2efe743950ade93ef6cb981a6ac4a56ef3e71ec7 (diff)
downloadwallet-core-63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02.tar.xz
android APIs for withdrawal and exchange listing
Diffstat (limited to 'src/operations')
-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,