sweep,rpc: honor minConfs paramater when SendAll is set
This commit is contained in:
1 parent
213b264e4c
commit
09c4ff509d
3 files changed
+7
-5
No files matched your search
@@ -1194,6 +1194,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
|
||||
@@ -1246,6 +1247,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