Save the actual PIN and verify it

This commit is contained in:
2024-09-05 19:50:02 +03:00
parent db3ec1991d
commit 17804e7641
2 changed files with 25 additions and 25 deletions

View File

@@ -15,6 +15,7 @@ const (
DATA_TRACKING_ID
DATA_PUBLIC_KEY
DATA_CUSTODIAL_ID
DATA_ACCOUNT_PIN
)
func typToBytes(typ DataTyp) []byte {
@@ -37,7 +38,6 @@ func ReadEntry(ctx context.Context, store db.Db, sessionId string, typ DataTyp)
return nil, err
}
return b, nil
}
func WriteEntry(ctx context.Context, store db.Db, sessionId string, typ DataTyp, value []byte) error {