Fix block pagination for liquid

This commit is contained in:
softsimon committed 2023-10-04 01:41:49 +04:00
1 parent e25e99456c
commit 10be2c8176
1 file changed
+1 -1
+1 -1
View File
@@ -478,7 +478,7 @@ class BitcoinRoutes {
}
let nextHash = startFromHash;
for (let i = 0; i < 10 && nextHash; i++) {
for (let i = 0; i < 15 && nextHash; i++) {
const localBlock = blocks.getBlocks().find((b) => b.id === nextHash);
if (localBlock) {
returnBlocks.push(localBlock);