diff --git a/pycardano/witness.py b/pycardano/witness.py index acceeb0f..e47ccf3b 100644 --- a/pycardano/witness.py +++ b/pycardano/witness.py @@ -8,17 +8,17 @@ from pycardano.key import ExtendedVerificationKey, VerificationKey from pycardano.nativescript import NativeScript from pycardano.plutus import ( + ExecutionUnits, PlutusV1Script, PlutusV2Script, PlutusV3Script, RawPlutusData, Redeemer, - Redeemers, - RedeemerMap, RedeemerKey, - RedeemerValue, - ExecutionUnits, + RedeemerMap, + Redeemers, RedeemerTag, + RedeemerValue, ) from pycardano.serialization import ( ArrayCBORSerializable, diff --git a/test/pycardano/test_txbuilder.py b/test/pycardano/test_txbuilder.py index f204db51..9d5b08b3 100644 --- a/test/pycardano/test_txbuilder.py +++ b/test/pycardano/test_txbuilder.py @@ -605,7 +605,9 @@ def test_add_script_input_no_script(chain_context): tx_builder.add_output(TransactionOutput(receiver, 5000000)) tx_builder.build(change_address=receiver) tx_builder.use_redeemer_map = False - witness = tx_builder.build_witness_set(remove_dup_script=True, ) + witness = tx_builder.build_witness_set( + remove_dup_script=True, + ) assert [datum] == witness.plutus_data assert [redeemer] == witness.redeemer assert witness.plutus_v1_script is None