From 8edbc7b744487b5cd0b196215ea6917bae2dd311 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 18 Sep 2019 16:39:55 -0400 Subject: [PATCH] Resolve 'warning: unused that must be used' error --- zebra-network/src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-network/src/message.rs b/zebra-network/src/message.rs index d54144791..5f6926949 100644 --- a/zebra-network/src/message.rs +++ b/zebra-network/src/message.rs @@ -677,7 +677,7 @@ mod tests { let v_bytes = { let mut bytes = Vec::new(); - v.zcash_serialize( + let _ = v.zcash_serialize( Cursor::new(&mut bytes), crate::constants::magics::MAINNET, crate::constants::CURRENT_VERSION,