cargo fmt
This commit is contained in:
@@ -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",
|
||||||
))
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
@@ -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",
|
||||||
))
|
));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user