Skip to content

Commit

Permalink
Pass the parent serial instead
Browse files Browse the repository at this point in the history
  • Loading branch information
pgporada committed May 21, 2024
1 parent e1b2966 commit 96aa6c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion va/va.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (va VAImpl) setOrderError(order *core.Order, prob *acme.ProblemDetails) {

// Mark the parent order as "not replaced yet" so a new replacement order
// can be attempted.
err := va.db.UpdateReplacedOrder(order.CertificateObject.ID, false)
err := va.db.UpdateReplacedOrder(order.Replaces, false)
if err != nil {
va.log.Printf("Error updating replacement order: %s", err)
}
Expand Down

0 comments on commit 96aa6c0

Please sign in to comment.