Improv: On new block push, simultaneously send new mempool stats.
This commit is contained in:
		
							parent
							
								
									5e16c592cb
								
							
						
					
					
						commit
						9fa95ccbe8
					
				@ -268,7 +268,8 @@ class WebsocketHandler {
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      const response = {
 | 
			
		||||
        'block': block
 | 
			
		||||
        'block': block,
 | 
			
		||||
        'mempoolInfo': memPool.getMempoolInfo(),
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      if (mBlocks && client['want-mempool-blocks']) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user