Do not queue messages if the peer isn't connected (e.g. timing out)
This commit is contained in:
		@@ -199,7 +199,6 @@ func (sm *StateManager) ProcessBlock(block *Block, dontReact bool) error {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		sm.Ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{block.Value().Val})
 | 
			
		||||
 | 
			
		||||
	} else {
 | 
			
		||||
		fmt.Println("total diff failed")
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user