Fix block pagination for liquid
This commit is contained in:
		
							parent
							
								
									e25e99456c
								
							
						
					
					
						commit
						10be2c8176
					
				@ -478,7 +478,7 @@ class BitcoinRoutes {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      let nextHash = startFromHash;
 | 
					      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);
 | 
					        const localBlock = blocks.getBlocks().find((b) => b.id === nextHash);
 | 
				
			||||||
        if (localBlock) {
 | 
					        if (localBlock) {
 | 
				
			||||||
          returnBlocks.push(localBlock);
 | 
					          returnBlocks.push(localBlock);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user