Fix minRelayTxFee name in comment
This commit is contained in:
parent
eed57cdcf1
commit
3eb4739b75
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue