Skip to content

Commit

Permalink
fix fee x byte
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvionied committed Oct 17, 2024
1 parent fdbcc7d commit be57749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txBuilding/Utils/Utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func Fee(context Base.ChainContext, txSize int, steps int64, mem int64, refInput
mult := 1.2
baseFee := 15.0
Range := 25600.0
for refInputsSize > int(Range) {
for refInputsSize > 0 {
cur := Range
curFee := cur * baseFee
addedFee += int(curFee)
Expand Down

0 comments on commit be57749

Please sign in to comment.