mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 18:10:48 +02:00
Merge pull request #5200 from champo/send_all_min_confs
sweep,rpc: honor minConfs paramater when SendAll is set
This commit is contained in:
@ -1207,6 +1207,7 @@ func (r *rpcServer) SendCoins(ctx context.Context,
|
||||
uint32(bestHeight), nil, targetAddr, wallet,
|
||||
wallet, wallet.WalletController,
|
||||
r.server.cc.FeeEstimator, r.server.cc.Signer,
|
||||
minConfs,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@ -1259,6 +1260,7 @@ func (r *rpcServer) SendCoins(ctx context.Context,
|
||||
uint32(bestHeight), outputs, targetAddr, wallet,
|
||||
wallet, wallet.WalletController,
|
||||
r.server.cc.FeeEstimator, r.server.cc.Signer,
|
||||
minConfs,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user