From 40d80c4d6f13d438f5cc8638709a7989d3972106 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Thu, 29 Jul 2021 07:16:14 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Daira Hopwood --- src/bundle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle.rs b/src/bundle.rs index 2296079f..5018c556 100644 --- a/src/bundle.rs +++ b/src/bundle.rs @@ -179,7 +179,7 @@ impl Flags { /// Serialize flags to a byte as defined in [Zcash Protocol Spec § 7.1: Transaction /// Encoding And Consensus][txencoding]. /// - /// [txencoding]: https://zips.z.cash/protocol/nu5.pdf#txnencoding + /// [txencoding]: https://zips.z.cash/protocol/protocol.pdf#txnencoding pub fn to_byte(&self) -> u8 { let mut value = 0u8; if self.spends_enabled { @@ -194,7 +194,7 @@ impl Flags { /// Parse from a single byte as defined in [Zcash Protocol Spec § 7.1: Transaction /// Encoding And Consensus][txencoding]. /// - /// [txencoding]: https://zips.z.cash/protocol/nu5.pdf#txnencoding + /// [txencoding]: https://zips.z.cash/protocol/protocol.pdf#txnencoding pub fn from_byte(value: u8) -> io::Result { if value & FLAGS_EXPECTED_UNSET == 0 { Ok(Self::from_parts(