Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pycardano/txbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,4 +1509,7 @@
VerificationKeyWitness(signing_key.to_verification_key(), signature)
)

if len(witness_set.vkey_witnesses) == 0:
witness_set.vkey_witnesses = None

Check warning on line 1513 in pycardano/txbuilder.py

View check run for this annotation

Codecov / codecov/patch

pycardano/txbuilder.py#L1513

Added line #L1513 was not covered by tests

return Transaction(tx_body, witness_set, auxiliary_data=self.auxiliary_data)
Loading