sweep: log full parameter struct

This commit is contained in:
Joost Jager 2020-02-04 14:55:16 +01:00
parent 2c08a8b9a8
commit 69a6107d06
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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,