diff options
Diffstat (limited to 'src/federation/party.rs')
| -rw-r--r-- | src/federation/party.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/federation/party.rs b/src/federation/party.rs index 8f5143b..8357d22 100644 --- a/src/federation/party.rs +++ b/src/federation/party.rs @@ -973,7 +973,7 @@ pub(crate) async fn main() -> Result<()> { let version = to_propose(&node, ¤t, sub).await?; let proposed = client::backable(¤t, &version) .map_err(|why| anyhow!("not a version a party may back: {why}"))?; - if client::described(¤t, &proposed).is_empty() { + if client::described(¤t, &proposed, &Default::default()).is_empty() { bail!( "it changes nothing of version {} but its number", current.number @@ -2055,7 +2055,7 @@ fn ballot_line(counts: &JsonValue, current: &Version, hash: &str, hashes: &[Stri /// (`client::described`), the places holding a value in `counts` whose writer it moves, /// and the nodes not known to know its revision. fn version_lines(counts: &JsonValue, current: &Version, proposed: &Version) -> Vec<String> { - let mut lines = client::described(current, proposed); + let mut lines = client::described(current, proposed, &client::node_names(counts)); let places: Vec<&str> = counts["values"] .as_object() .into_iter() |
