Fix unneeded initial value and mut
This commit is contained in:
parent
23cd346f28
commit
01599a0735
|
|
@ -45,7 +45,7 @@ impl SaplingShieldedAddress {
|
||||||
let mut bytes = io::Cursor::new(Vec::new());
|
let mut bytes = io::Cursor::new(Vec::new());
|
||||||
let _ = self.zcash_serialize(&mut bytes);
|
let _ = self.zcash_serialize(&mut bytes);
|
||||||
|
|
||||||
let mut hrp = "";
|
let hrp;
|
||||||
|
|
||||||
match network {
|
match network {
|
||||||
Network::Mainnet => hrp = human_readable_parts::MAINNET,
|
Network::Mainnet => hrp = human_readable_parts::MAINNET,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue