mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 10:11:11 +02:00
sweep: return fees from method createSweepTx
Which will be used to make the sweeper RBF-aware.
This commit is contained in:
@@ -337,7 +337,7 @@ func CraftSweepAllTx(feeRate, maxFeeRate chainfee.SatPerKWeight,
|
||||
|
||||
// Finally, we'll ask the sweeper to craft a sweep transaction which
|
||||
// respects our fee preference and targets all the UTXOs of the wallet.
|
||||
sweepTx, err := createSweepTx(
|
||||
sweepTx, _, err := createSweepTx(
|
||||
inputsToSweep, txOuts, changePkScript, blockHeight,
|
||||
feeRate, maxFeeRate, signer,
|
||||
)
|
||||
|
Reference in New Issue
Block a user