Fix comment in test_p2p() (#1041)

This commit is contained in:
Casey Rodarmor 2018-05-06 21:02:45 -04:00 committed by Antioch Peverell
parent a481c6d495
commit b42b2a4f77

View file

@ -232,7 +232,7 @@ fn test_p2p() {
assert!(peers_connected.is_ok()); assert!(peers_connected.is_ok());
assert_eq!(peers_connected.unwrap().len(), 1); assert_eq!(peers_connected.unwrap().len(), 1);
// Check its status is banned with get peer // Check its status is healthy with get peer
let peer = get_peer(&base_addr, api_server_port, &addr); let peer = get_peer(&base_addr, api_server_port, &addr);
assert!(peer.is_ok()); assert!(peer.is_ok());
assert_eq!(peer.unwrap().flags, p2p::State::Healthy); assert_eq!(peer.unwrap().flags, p2p::State::Healthy);