Browse Source

cargo fmt

hush
Jack Grigg 5 years ago
parent
commit
6c99d71d4f
No known key found for this signature in database GPG Key ID: 9E8255172BBF9898
  1. 2
      zcash_primitives/src/transaction/components.rs
  2. 6
      zcash_primitives/src/transaction/mod.rs
  3. 4
      zip32/src/lib.rs

2
zcash_primitives/src/transaction/components.rs

@ -218,7 +218,7 @@ impl SpendDescription {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"Missing spend auth signature",
))
));
}
}
}

6
zcash_primitives/src/transaction/mod.rs

@ -275,7 +275,7 @@ impl Transaction {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"Missing JoinSplit pubkey",
))
));
}
}
match self.joinsplit_sig {
@ -284,7 +284,7 @@ impl Transaction {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"Missing JoinSplit signature",
))
));
}
}
}
@ -312,7 +312,7 @@ impl Transaction {
return Err(io::Error::new(
io::ErrorKind::InvalidInput,
"Missing binding signature",
))
));
}
}
} else if self.binding_sig.is_some() {

4
zip32/src/lib.rs

@ -184,7 +184,7 @@ impl<E: JubjubEngine> FullViewingKey<E> {
return Err(io::Error::new(
io::ErrorKind::InvalidData,
"ak not of prime order",
))
));
}
};
@ -195,7 +195,7 @@ impl<E: JubjubEngine> FullViewingKey<E> {
return Err(io::Error::new(
io::ErrorKind::InvalidData,
"nk not of prime order",
))
));
}
};

Loading…
Cancel
Save