From e8cf43d7ec9efee6d6a548e94fee356c0dafd0eb Mon Sep 17 00:00:00 2001 From: microproofs Date: Fri, 20 Sep 2024 13:52:09 -0400 Subject: [PATCH] Format fix --- crates/uplc/src/flat.rs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/crates/uplc/src/flat.rs b/crates/uplc/src/flat.rs index 6467cc24d..8c4f609c3 100644 --- a/crates/uplc/src/flat.rs +++ b/crates/uplc/src/flat.rs @@ -676,7 +676,9 @@ impl<'b> Decode<'b> for Constant { de::Error::Message(format!("Failed to uncompress p1: {}", err)) })?; - Err(de::Error::Message("BLS12-381 G1 points are not supported for flat decoding.".to_string())) + Err(de::Error::Message( + "BLS12-381 G1 points are not supported for flat decoding.".to_string(), + )) } [10] => { @@ -686,7 +688,9 @@ impl<'b> Decode<'b> for Constant { de::Error::Message(format!("Failed to uncompress p2: {}", err)) })?; - Err(de::Error::Message("BLS12-381 G2 points are not supported for flat decoding.".to_string())) + Err(de::Error::Message( + "BLS12-381 G2 points are not supported for flat decoding.".to_string(), + )) } [11] => Err(de::Error::Message( "BLS12-381 ML results are not supported for flat decoding".to_string(), @@ -736,7 +740,9 @@ fn decode_constant_value(typ: Rc, d: &mut Decoder) -> Result { let p2 = Vec::::decode(d)?; @@ -744,7 +750,9 @@ fn decode_constant_value(typ: Rc, d: &mut Decoder) -> Result Err(de::Error::Message( "BLS12-381 ML results are not supported for flat decoding".to_string(),