From c861244ab81f452dc01717490574332db4b54e5f Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 6 Feb 2023 17:37:20 +0100 Subject: [PATCH] Fix bug with `announce-refs` result --- radicle/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle/src/node.rs b/radicle/src/node.rs index 41e23bdc..bad3e487 100644 --- a/radicle/src/node.rs +++ b/radicle/src/node.rs @@ -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(())