Skip to content

Commit

Permalink
Suppress unused import warning in ReadZcashExt.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Sep 25, 2019
1 parent 48a5054 commit fe95ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-chain/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub trait ReadZcashExt: io::Read {

let mut octets = [0u8; 16];
self.read_exact(&mut octets)?;
let v6_addr = std::net::Ipv6Addr::from(octets);
let v6_addr = Ipv6Addr::from(octets);

match v6_addr.to_ipv4() {
Some(v4_addr) => Ok(V4(v4_addr)),
Expand Down

0 comments on commit fe95ad3

Please sign in to comment.