diff options
| author | Adam Soltys <[email protected]> | 2024-09-24 21:13:24 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-24 21:13:24 -0700 |
| commit | 62e28e2c944789011e9be112f95f5e9e05fde94b (patch) | |
| tree | b5e3e7b9b8c8314f05e223bf7beef1bc0f7e8dfd | |
| parent | ab945e89501af32f6cea1e994485ad8d3d814b82 (diff) | |
| download | coinos-server-62e28e2c944789011e9be112f95f5e9e05fde94b.tar.gz coinos-server-62e28e2c944789011e9be112f95f5e9e05fde94b.zip | |
disable rescans
| -rw-r--r-- | lib/payments.ts | 3 | ||||
| -rw-r--r-- | routes/users.ts | 3 |
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, }); |
