mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 22:46:54 +01:00
Merge pull request #4302 from mempool/simon/liquid-blocks-api
Fix block pagination for liquid
This commit is contained in:
commit
fbc6c078ef
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue