Merge pull request #4302 from mempool/simon/liquid-blocks-api
Fix block pagination for liquid
This commit is contained in:
		
						commit
						fbc6c078ef
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user