Skip to content

Commit 955cd7a

Browse files
nielstroncffls
authored andcommitted
Fix integration test
1 parent 308343c commit 955cd7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

integration-test/test/test_plutus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_plutus_v1(self):
2626

2727
builder = TransactionBuilder(self.chain_context)
2828
builder.add_input_address(giver_address)
29-
datum = PlutusData() # A Unit type "()" in Haskell
29+
datum = Unit() # A Unit type "()" in Haskell
3030
builder.add_output(
3131
TransactionOutput(script_address, 50000000, datum_hash=datum_hash(datum))
3232
)

pycardano/plutus.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"datum_hash",
4646
"plutus_script_hash",
4747
"script_hash",
48+
"Unit",
4849
]
4950

5051

0 commit comments

Comments
 (0)