Fix bug with `announce-refs` result

This commit is contained in:
Alexis Sellier 2023-02-06 17:37:20 +01:00
parent 037ff39894
commit c861244ab8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ impl Handle for Node {
}
fn announce_refs(&mut self, id: Id) -> Result<(), Error> {
for line in self.call(CommandName::AnnounceRefs, [id.urn()])? {
for line in self.call::<_, CommandResult>(CommandName::AnnounceRefs, [id.urn()])? {
line?;
}
Ok(())