Skip to content

Commit 6a4c2a3

Browse files
committed
fix: cargo fmt
1 parent 17088d7 commit 6a4c2a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

common/src/validation.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,12 @@ pub enum OperationalCertificateError {
295295
MalformedSignatureOcert { reason: String },
296296
/// **Cause:** The cold key signature on the operational certificate is invalid.
297297
/// The OCert was not properly signed by the pool's cold key.
298-
#[error("Invalid Signature OCert: Issuer={}, Pool ID={}", hex::encode(issuer), hex::encode(pool_id))]
299-
InvalidSignatureOcert { issuer: Vec<u8>, pool_id: PoolId, },
298+
#[error(
299+
"Invalid Signature OCert: Issuer={}, Pool ID={}",
300+
hex::encode(issuer),
301+
hex::encode(pool_id)
302+
)]
303+
InvalidSignatureOcert { issuer: Vec<u8>, pool_id: PoolId },
300304
/// **Cause:** The operational certificate counter in the header is not greater
301305
/// than the last counter used by this pool.
302306
#[error(

0 commit comments

Comments
 (0)