sweep: log full parameter struct

This commit is contained in:
Joost Jager committed 2020-02-12 09:59:43 +01:00
1 parent 2c08a8b9a8
commit 69a6107d06
1 file changed
+2 -3
+2 -3
View File
@@ -402,10 +402,9 @@ func (s *UtxoSweeper) SweepInput(input input.Input,
} }
log.Infof("Sweep request received: out_point=%v, witness_type=%v, "+ log.Infof("Sweep request received: out_point=%v, witness_type=%v, "+
"time_lock=%v, amount=%v, fee_preference=%v, force=%v", "time_lock=%v, amount=%v, params=(%v)",
input.OutPoint(), input.WitnessType(), input.BlocksToMaturity(), input.OutPoint(), input.WitnessType(), input.BlocksToMaturity(),
btcutil.Amount(input.SignDesc().Output.Value), btcutil.Amount(input.SignDesc().Output.Value), params)
params.Fee, params.Force)
sweeperInput := &sweepInputMessage{ sweeperInput := &sweepInputMessage{
input: input, input: input,