vspd: Make log format consistent.

Every log line which includes a ticket hash includes it in the end at in
brackets, not inline with the message.
This commit is contained in:
jholdstock 2023-09-19 14:18:48 +01:00 committed by Jamie Holdstock
parent f5b57f4169
commit fde844e2e1

View File

@ -322,7 +322,7 @@ func (v *Vspd) setOutcomes(ctx context.Context, dcrdClient *rpc.DcrdRPC) {
continue continue
} }
v.log.Infof("Ticket %s %s at height %d", v.log.Infof("Ticket %s at height %d (ticketHash=%s)",
dbTicket.Hash, dbTicket.Outcome, spentTicket.heightSpent) dbTicket.Outcome, spentTicket.heightSpent, dbTicket.Hash)
} }
} }