mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 03:51:22 +00:00
cargo fmt
This commit is contained in:
@@ -218,7 +218,7 @@ impl SpendDescription {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::InvalidInput,
|
||||
"Missing spend auth signature",
|
||||
))
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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() {
|
||||
|
@@ -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",
|
||||
))
|
||||
));
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user