Fix block pagination for liquid

This commit is contained in:
softsimon 2023-10-04 01:41:49 +04:00
parent e25e99456c
commit 10be2c8176
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

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);