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:
parent
f5b57f4169
commit
fde844e2e1
@ -322,7 +322,7 @@ func (v *Vspd) setOutcomes(ctx context.Context, dcrdClient *rpc.DcrdRPC) {
|
||||
continue
|
||||
}
|
||||
|
||||
v.log.Infof("Ticket %s %s at height %d",
|
||||
dbTicket.Hash, dbTicket.Outcome, spentTicket.heightSpent)
|
||||
v.log.Infof("Ticket %s at height %d (ticketHash=%s)",
|
||||
dbTicket.Outcome, spentTicket.heightSpent, dbTicket.Hash)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user