Skip to content

Commit

Permalink
Fix qa
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Sep 1, 2024
1 parent 92689b8 commit 5b6bf37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycardano/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def tiered_reference_script_fee(context: ChainContext, scripts_size: int) -> int
f"Reference scripts size: {scripts_size} exceeds maximum allowed size ({max_size})."
)

total = 0
total = 0.0
if scripts_size:
b = context.protocol_param.min_fee_reference_scripts["base"]
r = context.protocol_param.min_fee_reference_scripts["range"]
r = math.ceil(context.protocol_param.min_fee_reference_scripts["range"])
m = context.protocol_param.min_fee_reference_scripts["multiplier"]

while scripts_size > r:
Expand Down

0 comments on commit 5b6bf37

Please sign in to comment.