Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix bug with `announce-refs` result
Alexis Sellier committed 3 years ago
commit c861244ab81f452dc01717490574332db4b54e5f
parent 037ff39894c0abfc9363c7823647cda56a53ad9c
1 file changed +1 -1
modified 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(())