Implement read_getaddr

This commit is contained in:
Deirdre Connolly 2019-10-09 21:24:21 -04:00 committed by Deirdre Connolly
parent cfbe8dfdbf
commit a0302a5507
1 changed files with 1 additions and 2 deletions

View File

@ -393,8 +393,7 @@ impl Codec {
}
fn read_getaddr<R: Read>(&self, mut _reader: R) -> Result<Message, Error> {
trace!("getaddr");
bail!("unimplemented message type")
Ok(Message::Verack)
}
fn read_block<R: Read>(&self, mut _reader: R) -> Result<Message, Error> {