Skip to content

Commit

Permalink
contract: fix invalid OpWitness type
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 22, 2024
1 parent 8440518 commit ce67d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contract/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl From<OrdOpRef<'_>> 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),
}
}
}
Expand Down

0 comments on commit ce67d2b

Please sign in to comment.