Skip to content

Commit

Permalink
Merge branch 'Voxelot/intrinsic-costs' of https://github.com/FuelLabs…
Browse files Browse the repository at this point in the history
…/fuel-specs into Voxelot/intrinsic-costs
  • Loading branch information
bvrooman committed Dec 11, 2023
2 parents f3d57ca + 29c0323 commit 03c32ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocol/tx-validity.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def reserved_feeBalance(tx, assetId) -> int:
"""
Computes the maximum potential amount of fees that may need to be charged to process a transaction.
"""
gasBalance = max_gas(tx)
feeBalance = gas_to_fee(gasBalance, tx.gasPrice)
maxGas = max_gas(tx)
feeBalance = gas_to_fee(maxGas, tx.gasPrice)
# Only base asset can be used to pay for gas
if assetId == 0:
return feeBalance
Expand Down

0 comments on commit 03c32ff

Please sign in to comment.