From fb375218573e0a0add8db0a4b19c7d4e309729e7 Mon Sep 17 00:00:00 2001 From: rvcas Date: Sat, 4 Feb 2023 16:24:39 -0500 Subject: [PATCH] feat: make a transparent machine error for signature::Error --- crates/uplc/src/machine/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uplc/src/machine/error.rs b/crates/uplc/src/machine/error.rs index 5749a38f..9bddedc3 100644 --- a/crates/uplc/src/machine/error.rs +++ b/crates/uplc/src/machine/error.rs @@ -48,4 +48,6 @@ pub enum Error { DeserialisationError(String, Value), #[error("Integer overflow")] OverflowError, + #[error(transparent)] + InvalidEcdsaSecp256k1Args(#[from] k256::ecdsa::signature::Error), }