Skip to content

Commit 4e34d9c

Browse files
authored
delete abc test (#173)
Signed-off-by: Hagar Meir <hagar.meir@ibm.com>
1 parent 7f4f566 commit 4e34d9c

File tree

2 files changed

+10
-321
lines changed

2 files changed

+10
-321
lines changed

core/abc_test.go

Lines changed: 0 additions & 321 deletions
This file was deleted.

core/consenter_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,13 @@ func createConsenter(state *state.State, logger arma_types.Logger) *core.Consent
9393

9494
return consenter
9595
}
96+
97+
type BAFSimpleDeserializer struct{}
98+
99+
func (bafd *BAFSimpleDeserializer) Deserialize(bytes []byte) (arma_types.BatchAttestationFragment, error) {
100+
var baf arma_types.SimpleBatchAttestationFragment
101+
if err := baf.Deserialize(bytes); err != nil {
102+
return nil, err
103+
}
104+
return &baf, nil
105+
}

0 commit comments

Comments
 (0)