sweep: return fees from method createSweepTx
Which will be used to make the sweeper RBF-aware.
This commit is contained in:
3 files changed
+28
-13
No files matched your search
@@ -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