We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979fefe commit f063216Copy full SHA for f063216
testnet/stacks-node/src/config.rs
@@ -2370,16 +2370,7 @@ impl ConnectionOptionsFile {
2370
hint_replicas_res
2371
})
2372
.transpose()?
2373
- .and_then(|stackerdb_replicas_list| {
2374
- // coalesce to a hashmap, but don't worry about duplicate entries
2375
- // (garbage in, garbage out)
2376
- let stackerdb_hint_replicas: HashMap<
2377
- QualifiedContractIdentifier,
2378
- Vec<NeighborAddress>,
2379
- > = stackerdb_replicas_list.into_iter().collect();
2380
-
2381
- Some(stackerdb_hint_replicas)
2382
- })
+ .map(HashMap::from_iter)
2383
.unwrap_or(default.stackerdb_hint_replicas),
2384
..default
2385
0 commit comments