Skip to content

Commit 3b67719

Browse files
committed
x
1 parent ecccdf6 commit 3b67719

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

wardrobe/money/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ impl<const ID: u8> Coin<ID> {
9393
}
9494
}
9595

96-
impl<const ID: u8> UtxoData for Coin<ID> {
97-
const TYPE_ID: [u8; 4] = [b'c', b'o', b'i', ID];
98-
}
99-
10096
/// Errors that can occur when checking money transactions.
10197
#[derive(
10298
Serialize,
@@ -138,6 +134,8 @@ pub enum ConstraintCheckerError {
138134
impl<const ID: u8> SimpleConstraintChecker for MoneyConstraintChecker<ID> {
139135
type Error = ConstraintCheckerError;
140136

137+
type UtxoData = Coin<ID>;
138+
141139
fn check(
142140
&self,
143141
input_data: &[DynamicallyTypedData],

0 commit comments

Comments
 (0)