Fix copy-paste bug in Codec
Co-authored-by: George Tankersley <george@zfnd.org>
This commit is contained in:
parent
8a1aa71736
commit
31651cf87c
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue