From 975470cf7adb6234f794b4d37fde82fc714d8cb0 Mon Sep 17 00:00:00 2001 From: Philipp Winter Date: Sat, 19 Oct 2024 11:49:26 -0500 Subject: [PATCH] Remove unnecessary type. --- internal/enclave/attester.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/internal/enclave/attester.go b/internal/enclave/attester.go index e7f0c7b..11480e2 100644 --- a/internal/enclave/attester.go +++ b/internal/enclave/attester.go @@ -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