cargo fmt

This commit is contained in:
Jack Grigg
2019-04-02 01:30:00 +01:00
parent 3501365950
commit 6c99d71d4f
3 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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