Skip to content

Commit ec1d298

Browse files
authored
Merge pull request #303 from input-output-hk/make_witness_count_mandatory
fix(transaction_group): make witness_count argument required
2 parents 350282e + 12c75f3 commit ec1d298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cardano_clusterlib/transaction_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def estimate_fee(
561561
txbody_file: itp.FileType,
562562
txin_count: int,
563563
txout_count: int,
564-
witness_count: int = 1,
564+
witness_count: int,
565565
byron_witness_count: int = 0,
566566
reference_script_size: int = 0,
567567
) -> int:
@@ -571,7 +571,7 @@ def estimate_fee(
571571
txbody_file: A path to file with transaction body.
572572
txin_count: A number of transaction inputs.
573573
txout_count: A number of transaction outputs.
574-
witness_count: A number of witnesses (optional).
574+
witness_count: A number of witnesses.
575575
byron_witness_count: A number of Byron witnesses (optional).
576576
reference_script_size: A size in bytes of transaction reference scripts (optional).
577577

0 commit comments

Comments
 (0)