From 7ab02c6c88e6dfac0c748caa70d008491cdc3564 Mon Sep 17 00:00:00 2001 From: Wietse Wind Date: Wed, 4 Oct 2023 11:14:24 +0200 Subject: [PATCH] Add note on xpop gen timeout --- lib/onTransaction.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/onTransaction.mjs b/lib/onTransaction.mjs index c1ae290..58e56ec 100644 --- a/lib/onTransaction.mjs +++ b/lib/onTransaction.mjs @@ -59,6 +59,10 @@ const onTransaction = async ({ }) ) }, 500) + // ^^ To check: is this enough? If e.g. retrieving the ledger info + // would take longer this may not be enough. Best solution: + // make this await the ledger fetching calls. + // Dirty: extend to e.g. 2000. } }) }