Merge pull request #4841 from cfromknecht/send-coins-log-fix

rpcserver: replace sweep_all in log with send_all to match rpc arg
This commit is contained in:
Johan T. Halseth
2020-12-08 13:56:41 +01:00
committed by GitHub

View File

@@ -1194,7 +1194,7 @@ func (r *rpcServer) SendCoins(ctx context.Context,
} }
rpcsLog.Infof("[sendcoins] addr=%v, amt=%v, sat/kw=%v, min_confs=%v, "+ rpcsLog.Infof("[sendcoins] addr=%v, amt=%v, sat/kw=%v, min_confs=%v, "+
"sweep_all=%v", "send_all=%v",
in.Addr, btcutil.Amount(in.Amount), int64(feePerKw), minConfs, in.Addr, btcutil.Amount(in.Amount), int64(feePerKw), minConfs,
in.SendAll) in.SendAll)