Fix Plutus v3 validator hash calculation in blueprint.

This commit is contained in:
KtorZ
2024-08-08 18:17:38 +02:00
parent 445ffc483d
commit 508d88035b
6 changed files with 144 additions and 43 deletions

View File

@@ -83,7 +83,7 @@ pub fn exec(
let result =
blueprint.with_validator(title, when_too_many, when_missing, |validator| match to {
Format::CardanoCli => {
let cbor_bytes = validator.program.to_cbor().unwrap();
let cbor_bytes = validator.program.inner().to_cbor().unwrap();
let mut double_cbor_bytes = Vec::new();