From 74322232d002ad31bf1d152318f6d97109b9b3d3 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 7 Jul 2022 10:58:38 +0300 Subject: [PATCH] fix: add await for rescan --- lnbits/extensions/satspay/templates/satspay/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/satspay/templates/satspay/index.html b/lnbits/extensions/satspay/templates/satspay/index.html index eac19237..58b59b0d 100644 --- a/lnbits/extensions/satspay/templates/satspay/index.html +++ b/lnbits/extensions/satspay/templates/satspay/index.html @@ -559,7 +559,7 @@ await this.getWalletLinks() await this.getWalletConfig() this.timerCount() - this.rescanOnchainAddresses() + await this.rescanOnchainAddresses() setInterval(() => this.rescanOnchainAddresses(), 30 * 1000) } })