Merge pull request #5200 from champo/send_all_min_confs

sweep,rpc: honor minConfs paramater when SendAll is set
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-06-18 14:08:45 -07:00
commit da94cbf1ec
3 files changed
+7 -5

No files matched your search

+2
View File
@@ -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