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

View File

@ -402,10 +402,9 @@ func (s *UtxoSweeper) SweepInput(input input.Input,
}
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(),
btcutil.Amount(input.SignDesc().Output.Value),
params.Fee, params.Force)
btcutil.Amount(input.SignDesc().Output.Value), params)
sweeperInput := &sweepInputMessage{
input: input,