Skip to content

Commit

Permalink
Remove unnecessary type.
Browse files Browse the repository at this point in the history
  • Loading branch information
NullHypothesis committed Oct 19, 2024
1 parent 6a7e289 commit 975470c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions internal/enclave/attester.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ var (
_ Attester = (*NoopAttester)(nil)
)

type Attestation []byte

// AttestationDoc holds the enclave's attestation document.
type AttestationDoc struct {
Type string `json:"type"`
Doc Attestation `json:"attestation_document"`
Type string `json:"type"`
Doc []byte `json:"attestation_document"`
}

type AuxFunc func(*nonce.Nonce) *AuxInfo
Expand Down

0 comments on commit 975470c

Please sign in to comment.