Skip to content

Commit 4c6ca08

Browse files
committed
Corrected a tipo in retrieve redemption record algorithm.
Replaced redemptionTimes map with redemptionRecords.
1 parent 00dd7af commit 4c6ca08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ To <dfn>record a redemption record</dfn> given an [=/origin=] |issuer|, an [=/or
405405
To <dfn>retrieve a redemption record</dfn> given an [=/origin=] |issuer| and an [=/origin=] |topLevel|, run the following steps:
406406

407407
1. Let |currentTime| be the current date and time in milliseconds since 01 January, 1970 UTC.
408-
1. If [=redemptionTimes=][(|issuer|,|topLevel|)] [=map/exists|does not exist=], return null.
409-
1. Let (|record|, |expiration|, |signingKeys|) be [=redemptionTimes=][(|issuer|,|topLevel|)].
408+
1. If [=redemptionRecords=][(|issuer|,|topLevel|)] [=map/exists|does not exist=], return null.
409+
1. Let (|record|, |expiration|, |signingKeys|) be [=redemptionRecords=][(|issuer|,|topLevel|)].
410410
1. If |expiration| is less than |currentTime|, return null.
411411
1. Let |currentSigningKeys| be the result of [=look up the latest keys|looking up of the latest keys=] for |issuer|.
412412
1. If |currentSigningKeys| does not equal |signingKeys|, return null.

0 commit comments

Comments
 (0)