mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Fix comment in test_p2p() (#1041)
This commit is contained in:
parent
a481c6d495
commit
b42b2a4f77
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue