Skip to content

Commit

Permalink
adds keeper coverage (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
m00sey authored Aug 24, 2023
1 parent c1dffd2 commit fe835e7
Show file tree
Hide file tree
Showing 2 changed files with 338 additions and 69 deletions.
2 changes: 0 additions & 2 deletions src/signify/core/keeping.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,9 @@ def __init__(self, salter, pidx, kidx=0, tier=Tiers.low, transferable=False, ste
bran = coring.MtrDex.Salt_128 + 'A' + bran[:21]
self.creator = keeping.SaltyCreator(salt=bran, stem=stem, tier=tier)
self.sxlt = self.encrypter.encrypt(self.creator.salt).qb64

elif sxlt is None:
self.creator = keeping.SaltyCreator(stem=stem, tier=tier)
self.sxlt = self.encrypter.encrypt(self.creator.salt).qb64

else:
self.sxlt = sxlt
ciph = coring.Cipher(qb64=self.sxlt)
Expand Down
Loading

0 comments on commit fe835e7

Please sign in to comment.