Skip to content

Commit 43ca85f

Browse files
committed
Conform this function to match SV Node calculation
1 parent 565ffbe commit 43ca85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction/fee_model/sats_per_kb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ func (s *SatoshisPerKilobyte) ComputeFee(tx *transaction.Transaction) (uint64, e
3333
size += len(*o.LockingScript)
3434
}
3535
size += 4
36-
return (uint64(math.Ceil(float64(size) / 1000))) * s.Satoshis, nil
36+
return (uint64(math.Ceil(float64(size)/1000)) * s.Satoshis), nil
3737
}

0 commit comments

Comments
 (0)