Skip to content

Commit cb5adab

Browse files
authored
Update test_txbuilder.py
1 parent f2a079d commit cb5adab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pycardano/test_txbuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def test_not_enough_input_amount(chain_context):
412412

413413
# Make output amount equal to the input amount
414414
tx_builder.add_input(input_utxo).add_output(
415-
TransactionOutput.from_primitive([sender, input_utxo.output.amount])
415+
TransactionOutput(Address.from_primitive(sender), input_utxo.output.amount)
416416
)
417417

418418
with pytest.raises(UTxOSelectionException):

0 commit comments

Comments
 (0)