Skip to content

Commit

Permalink
Merge pull request #11 from crisdut/fix/tapret-propkey
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored Dec 26, 2023
2 parents 4eaf9b3 + 54e0c9d commit 93b663f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psbt/src/csval/tapret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl Output {
return Err(TapretKeyError::NotTaprootOutput);
}
let data =
self.proprietary(&PropKey::opret_commitment()).ok_or(TapretKeyError::NoCommitment)?;
self.proprietary(&PropKey::tapret_commitment()).ok_or(TapretKeyError::NoCommitment)?;
TapretCommitment::from_strict_serialized::<U16>(
Confined::try_from(data.to_vec()).map_err(|_| TapretKeyError::InvalidCommitment)?,
)
Expand Down

0 comments on commit 93b663f

Please sign in to comment.