Skip to content

Commit

Permalink
add witness and network to fixed peers (vinteumorg#195)
Browse files Browse the repository at this point in the history
* add witness and network to fixed peers

* fix a problem with addr_man tests
  • Loading branch information
Davidson-Souza authored Jul 22, 2024
1 parent d5ad683 commit 1ed7347
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/floresta-wire/src/p2p_wire/address_man.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ mod test {
load_addresses_from_json("./src/p2p_wire/seeds/signet_seeds.json").unwrap();

assert!(!signet_address.is_empty());
let random = rand::thread_rng().gen_range(1..=14);
let random = rand::thread_rng().gen_range(1..=13);
let loc_adr_1 = LocalAddress::from(signet_address[random].address.clone());
assert_eq!(loc_adr_1.address, signet_address[random].address);
}
Expand Down
8 changes: 4 additions & 4 deletions crates/floresta-wire/src/p2p_wire/seeds/mainnet_seeds.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"state": {
"Tried": 0
},
"services": 50331648,
"services": 50331657,
"port": 8333
},
{
"address": {
"V4": "181.191.0.136"
"V4": "181.191.0.137"
},
"last_connected": 1678986166,
"state": {
"Tried": 0
},
"services": 50331648,
"services": 50331657,
"port": 8333
},
{
Expand All @@ -29,7 +29,7 @@
"state": {
"Tried": 0
},
"services": 50331648,
"services": 50331657,
"port": 8333
}
]

0 comments on commit 1ed7347

Please sign in to comment.