aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/payments.ts3
-rw-r--r--routes/users.ts3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index 9aaccf39..da471cd8 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -821,8 +821,9 @@ export let reconcile = async (account) => {
});
}
} catch (e) {
+ console.log(e);
+ warn("problem reconciling", e.message, account);
if (e.message.includes("progress"))
return setTimeout(() => reconcile(account), 1000);
- warn("problem reconciling", e.message, account);
}
};
diff --git a/routes/users.ts b/routes/users.ts
index 26a4b8f3..a7efa76d 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -629,6 +629,7 @@ export default {
wallet_name: id,
descriptors: true,
disable_private_keys: true,
+ load_on_startup: true
});
node = rpc({ ...config[type], wallet: id });
@@ -640,7 +641,7 @@ export default {
desc: `${desc}#${checksum}`,
range: [0, 100],
next_index: 0,
- timestamp: 0,
+ timestamp: "now",
internal: i === 1,
active: true,
});