Skip to content

Commit c1c809d

Browse files
committed
staticaddr: re-add feeRate to withdrawal request
1 parent ca9acf3 commit c1c809d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

staticaddr/withdraw/manager.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,12 @@ func (m *Manager) createFinalizedWithdrawalTx(ctx context.Context,
410410
// responsible for that.
411411
resp, err := m.cfg.StaticAddressServerClient.ServerWithdrawDeposits(
412412
ctx, &staticaddressrpc.ServerWithdrawRequest{
413-
Outpoints: toPrevoutInfo(outpoints),
414-
ClientNonces: clientNonces,
415-
ClientWithdrawalAddr: withdrawalAddress.String(),
416-
WithdrawAmount: int64(withdrawAmount),
417-
ChangeAmount: int64(changeAmount),
413+
Outpoints: toPrevoutInfo(outpoints),
414+
ClientNonces: clientNonces,
415+
ClientSweepAddr: withdrawalAddress.String(),
416+
TxFeeRate: uint64(withdrawalSweepFeeRate),
417+
WithdrawAmount: int64(withdrawAmount),
418+
ChangeAmount: int64(changeAmount),
418419
},
419420
)
420421
if err != nil {

0 commit comments

Comments
 (0)