Skip to content

Commit fca9037

Browse files
committed
Cleanup/improve tests in common/src/chain/transaction/signature/tests/
1 parent 0d7695e commit fca9037

File tree

5 files changed

+514
-184
lines changed

5 files changed

+514
-184
lines changed

common/src/chain/transaction/signature/sighash/input_commitments/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub use info_providers::{
4444
/// with the `Option`, provided that only `None` and `Utxo` variants are used.
4545
/// 2) The `ProduceBlockFromStakeUtxo`, `FillOrderAccountCommand` and `ConcludeOrderAccountCommand`
4646
/// commitments are enabled since `SighashInputCommitmentVersion::V1`.
47-
#[derive(Clone, Debug, Encode, Decode, EnumDiscriminants)]
47+
#[derive(Clone, Debug, Encode, Decode, Eq, PartialEq, EnumDiscriminants)]
4848
#[strum_discriminants(name(SighashInputCommitmentTag), derive(EnumIter))]
4949
pub enum SighashInputCommitment<'a> {
5050
/// No extra commitment.

0 commit comments

Comments
 (0)