From c1c809d7291ec0f7d52b093c1769168e2d18ce84 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Mon, 3 Mar 2025 16:17:38 +0100 Subject: [PATCH] staticaddr: re-add feeRate to withdrawal request --- staticaddr/withdraw/manager.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/staticaddr/withdraw/manager.go b/staticaddr/withdraw/manager.go index 7530c193..6b307f4e 100644 --- a/staticaddr/withdraw/manager.go +++ b/staticaddr/withdraw/manager.go @@ -410,11 +410,12 @@ func (m *Manager) createFinalizedWithdrawalTx(ctx context.Context, // responsible for that. resp, err := m.cfg.StaticAddressServerClient.ServerWithdrawDeposits( ctx, &staticaddressrpc.ServerWithdrawRequest{ - Outpoints: toPrevoutInfo(outpoints), - ClientNonces: clientNonces, - ClientWithdrawalAddr: withdrawalAddress.String(), - WithdrawAmount: int64(withdrawAmount), - ChangeAmount: int64(changeAmount), + Outpoints: toPrevoutInfo(outpoints), + ClientNonces: clientNonces, + ClientSweepAddr: withdrawalAddress.String(), + TxFeeRate: uint64(withdrawalSweepFeeRate), + WithdrawAmount: int64(withdrawAmount), + ChangeAmount: int64(changeAmount), }, ) if err != nil {