Skip to content

Commit

Permalink
Use correct log index in inclusion proof
Browse files Browse the repository at this point in the history
Signed-off-by: Ceridwen Coghlan <cdriskill@google.com>
  • Loading branch information
Ceridwen Coghlan authored Jul 26, 2023
1 parent 2bd83da commit f6bdec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tle/tle.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func GenerateTransparencyLogEntry(anon models.LogEntryAnon) (*rekor_pb.Transpare
SignedEntryTimestamp: anon.Verification.SignedEntryTimestamp,
},
InclusionProof: &rekor_pb.InclusionProof{
LogIndex: *anon.LogIndex,
LogIndex: *anon.Verification.InclusionProof.LogIndex,
RootHash: rootHash,
TreeSize: *anon.Verification.InclusionProof.TreeSize,
Hashes: inclusionProofHashes,
Expand Down

0 comments on commit f6bdec0

Please sign in to comment.