Fix websocket null data for undefined rbfSummary
This commit is contained in:
		
							parent
							
								
									c0e312ceb8
								
							
						
					
					
						commit
						4933486038
					
				@ -229,7 +229,9 @@ class WebsocketHandler {
 | 
			
		||||
          if (parsedMessage && parsedMessage['track-rbf-summary'] != null) {
 | 
			
		||||
            if (parsedMessage['track-rbf-summary']) {
 | 
			
		||||
              client['track-rbf-summary'] = true;
 | 
			
		||||
              response['rbfLatestSummary'] = this.socketData['rbfSummary'];
 | 
			
		||||
              if (this.socketData['rbfSummary'] != null) {
 | 
			
		||||
                response['rbfLatestSummary'] = this.socketData['rbfSummary'];
 | 
			
		||||
              }
 | 
			
		||||
            } else {
 | 
			
		||||
              client['track-rbf-summary'] = false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user