Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Sep 21, 2024
1 parent fcda104 commit 043578d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pycardano/witness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion test/pycardano/test_txbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 043578d

Please sign in to comment.