chore: remove unnecessary Option wrapper on type

This commit is contained in:
jmhrpr
2022-12-15 17:36:33 +00:00
committed by Kasey
parent 325a7b7b45
commit 775e90d782

View File

@@ -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(),
},
],
),