1 parent
716c6dddd8
commit
60bc30dd08
15 files changed
+21
-21
No files matched your search
@@ -13,7 +13,7 @@ const (
|
||||
FeePerKwFloor SatPerKWeight = 253
|
||||
|
||||
// AbsoluteFeePerKwFloor is the lowest fee rate in sat/kw of a
|
||||
// transaction that we should ever _create_. This is the the equivalent
|
||||
// transaction that we should ever _create_. This is the equivalent
|
||||
// of 1 sat/byte in sat/kw.
|
||||
AbsoluteFeePerKwFloor SatPerKWeight = 250
|
||||
)
|
||||
|
||||
@@ -307,7 +307,7 @@ func CoinSelectSubtractFees(feeRate chainfee.SatPerKWeight, amt,
|
||||
outputAmt := totalSat - requiredFeeNoChange
|
||||
changeAmt := btcutil.Amount(0)
|
||||
|
||||
// If the the output is too small after subtracting the fee, the coin
|
||||
// If the output is too small after subtracting the fee, the coin
|
||||
// selection cannot be performed with an amount this small.
|
||||
if outputAmt < dustLimit {
|
||||
return nil, 0, 0, fmt.Errorf("output amount(%v) after "+
|
||||
|
||||
Reference in new issue
Block a user