staticaddr: re-add feeRate to withdrawal request

This commit is contained in:
Slyghtning 2025-03-03 16:17:38 +01:00
parent ca9acf3074
commit c1c809d729
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF

View file

@ -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 {