Fixed commit_encode method avaliability for seal::Revealed
@@ -59,10 +59,15 @@ impl Conceal for Revealed {
}
}
}
+
impl CommitEncodeWithStrategy for Revealed {
type Strategy = commit_strategy::UsingConceal;
}
+impl CommitEncodeWithStrategy for Confidential {
+ type Strategy = commit_strategy::UsingStrict;
+}
+
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Display, Error)]
#[display_from(Debug)]
pub struct WitnessVoutError;
