We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73f0eb commit 167d473Copy full SHA for 167d473
integration-test/test/test_plutus.py
@@ -26,7 +26,7 @@ def test_plutus_v1(self):
26
27
builder = TransactionBuilder(self.chain_context)
28
builder.add_input_address(giver_address)
29
- datum = PlutusData() # A Unit type "()" in Haskell
+ datum = Unit() # A Unit type "()" in Haskell
30
builder.add_output(
31
TransactionOutput(script_address, 50000000, datum_hash=datum_hash(datum))
32
)
pycardano/plutus.py
@@ -45,6 +45,7 @@
45
"datum_hash",
46
"plutus_script_hash",
47
"script_hash",
48
+ "Unit",
49
]
50
51
0 commit comments