Skip to content

Commit

Permalink
Always keep datum_hash in TransactionOutput if the datum isn't inline
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Mar 4, 2024
1 parent 4cbe340 commit 536d1bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pycardano/backend/ogmios.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,6 @@ def _utxos_kupo(self, address: str) -> List[UTxO]:
)
if datum_hash and result.get("datum_type", "inline"):
datum = self._get_datum_from_kupo(result["datum_hash"])
if datum is not None:
datum_hash = None

if not result["value"]["assets"]:
tx_out = TransactionOutput(
Expand Down

0 comments on commit 536d1bc

Please sign in to comment.