s/GetData/NotFound/ in read_notfound

This commit is contained in:
Deirdre Connolly 2020-01-30 19:40:03 -05:00 committed by Deirdre Connolly
parent 1ca55846eb
commit 6d3d4c4f64
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ impl Codec {
}
fn read_notfound<R: Read>(&self, reader: R) -> Result<Message, Error> {
Ok(Message::GetData(Vec::zcash_deserialize(reader)?))
Ok(Message::NotFound(Vec::zcash_deserialize(reader)?))
}
fn read_tx<R: Read>(&self, mut reader: R) -> Result<Message, Error> {