fix: correct datum kind for set_datum_hash (#350)
This commit is contained in:
parent
afa397f4ea
commit
b78cedaf43
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ impl Output {
|
||||||
|
|
||||||
pub fn set_datum_hash(mut self, datum_hash: Hash<32>) -> Self {
|
pub fn set_datum_hash(mut self, datum_hash: Hash<32>) -> Self {
|
||||||
self.datum = Some(Datum {
|
self.datum = Some(Datum {
|
||||||
kind: DatumKind::Inline,
|
kind: DatumKind::Hash,
|
||||||
bytes: datum_hash.to_vec().into(),
|
bytes: datum_hash.to_vec().into(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue