mirror of
https://github.com/vacp2p/dst-gossipsub-test-node-rust.git
synced 2026-01-09 23:17:58 -05:00
Fixed bug. Now only dial to CONNECTTO peers.
This commit is contained in:
@@ -137,6 +137,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||||||
.build()) {
|
.build()) {
|
||||||
Ok(..) => {
|
Ok(..) => {
|
||||||
println!("Dial sent to {}", addrs);
|
println!("Dial sent to {}", addrs);
|
||||||
|
connected += 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user