Fix copy-paste bug in Codec

Co-authored-by: George Tankersley <george@zfnd.org>
This commit is contained in:
Henry de Valence 2019-10-15 14:59:09 -07:00
parent 8a1aa71736
commit 31651cf87c
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ impl Codec {
}
fn read_getaddr<R: Read>(&self, mut _reader: R) -> Result<Message, Error> {
Ok(Message::Verack)
Ok(Message::GetAddr)
}
fn read_block<R: Read>(&self, mut reader: R) -> Result<Message, Error> {