From ce67d2bb7460df7ac03ad5d80e042ca40da8735d Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Thu, 22 Aug 2024 12:17:29 +0200 Subject: [PATCH] contract: fix invalid OpWitness type --- src/contract/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contract/mod.rs b/src/contract/mod.rs index 885ed46d..d690bb4e 100644 --- a/src/contract/mod.rs +++ b/src/contract/mod.rs @@ -51,7 +51,7 @@ impl From> for OpWitness { match aor { OrdOpRef::Genesis(_) => OpWitness::Genesis, OrdOpRef::Transition(_, witness_id, ..) => OpWitness::Transition(witness_id), - OrdOpRef::Extension(_, witness_id, ..) => OpWitness::Transition(witness_id), + OrdOpRef::Extension(_, witness_id, ..) => OpWitness::Extension(witness_id), } } }