Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Respond to `announce-refs` control
Alexis Sellier committed 3 years ago
commit c888f40660b6ad1d3a37bfd4e1f7a855d96605f7
parent d324eab377d44c1b15c30562e9751421f13a9659
1 file changed +1 -0
modified radicle-node/src/control.rs
@@ -181,6 +181,7 @@ fn drain<H: Handle<Error = client::handle::Error>>(
                    if let Err(e) = handle.announce_refs(id) {
                        return Err(DrainError::Client(e));
                    }
+
                    writeln!(writer, "{}", node::RESPONSE_OK)?;
                } else {
                    return Err(DrainError::InvalidCommandArg(arg.to_owned()));
                }