diff --git a/crates/uplc/src/flat.rs b/crates/uplc/src/flat.rs index 6467cc24..8c4f609c 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(),