Skip to content

Commit 66e51fd

Browse files
committed
Fix error messages
1 parent 0d893cb commit 66e51fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plutus_data.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl Json for PlutusData {
7575
_ => Err(Error::UnexpectedArrayLength {
7676
wanted: 1,
7777
got: ctor_fields.len(),
78-
parser: "Prelude.Maybe".to_owned(),
78+
parser: "PlutusV1.PlutusData".to_owned(),
7979
}),
8080
}),
8181
),
@@ -86,7 +86,7 @@ impl Json for PlutusData {
8686
_ => Err(Error::UnexpectedArrayLength {
8787
wanted: 1,
8888
got: ctor_fields.len(),
89-
parser: "Prelude.Maybe".to_owned(),
89+
parser: "PlutusV1.PlutusData".to_owned(),
9090
}),
9191
}),
9292
),
@@ -97,7 +97,7 @@ impl Json for PlutusData {
9797
_ => Err(Error::UnexpectedArrayLength {
9898
wanted: 1,
9999
got: ctor_fields.len(),
100-
parser: "Prelude.Maybe".to_owned(),
100+
parser: "PlutusV1.PlutusData".to_owned(),
101101
}),
102102
}),
103103
),
@@ -108,7 +108,7 @@ impl Json for PlutusData {
108108
_ => Err(Error::UnexpectedArrayLength {
109109
wanted: 1,
110110
got: ctor_fields.len(),
111-
parser: "Prelude.Maybe".to_owned(),
111+
parser: "PlutusV1.PlutusData".to_owned(),
112112
}),
113113
}),
114114
),
@@ -130,7 +130,7 @@ impl Json for PlutusData {
130130
_ => Err(Error::UnexpectedArrayLength {
131131
wanted: 1,
132132
got: ctor_fields.len(),
133-
parser: "Prelude.Maybe".to_owned(),
133+
parser: "PlutusV1.PlutusData".to_owned(),
134134
}),
135135
}),
136136
),

0 commit comments

Comments
 (0)