Fix minRelayTxFee name in comment

This commit is contained in:
Federico Bond 2018-07-09 18:41:43 -03:00 committed by John C. Vernaleo
parent eed57cdcf1
commit 3eb4739b75

View file

@ -61,7 +61,7 @@ const (
func calcMinRequiredTxRelayFee(serializedSize int64, minRelayTxFee btcutil.Amount) int64 {
// Calculate the minimum fee for a transaction to be allowed into the
// mempool and relayed by scaling the base fee (which is the minimum
// free transaction relay fee). minTxRelayFee is in Satoshi/kB so
// free transaction relay fee). minRelayTxFee is in Satoshi/kB so
// multiply by serializedSize (which is in bytes) and divide by 1000 to
// get minimum Satoshis.
minFee := (serializedSize * int64(minRelayTxFee)) / 1000