chore: remove unnecessary Option wrapper on type
This commit is contained in:
parent
325a7b7b45
commit
775e90d782
|
@ -296,7 +296,7 @@ impl ToPlutusData for TxOut {
|
|||
post_alonzo_output.value.to_plutus_data(),
|
||||
match post_alonzo_output.datum_option {
|
||||
Some(DatumOption::Hash(hash)) => Some(hash).to_plutus_data(),
|
||||
_ => None::<Option<Hash<32>>>.to_plutus_data(),
|
||||
_ => None::<Hash<32>>.to_plutus_data(),
|
||||
},
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue