Skip to content

Commit 6be8d8f

Browse files
committed
fix comments
1 parent 2dfb282 commit 6be8d8f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/keri/core/coring.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -3417,13 +3417,11 @@ def _derive(clas, sad: dict, *,
34173417
raw, proto, kind, sad, version = sizeify(ked=sad, kind=kind)
34183418

34193419
ser = dict(sad)
3420-
if ignore:
3420+
if ignore: # delete ignore fields in said calculation from ser dict
34213421
for f in ignore:
34223422
del ser[f]
34233423

3424-
# string now has correct size
3425-
# sad as 'v' verision string then use its kind otherwise passed in kind
3426-
cpa = clas._serialize(ser, kind=kind) # raw pos arg class
3424+
cpa = clas._serialize(ser, kind=kind) # serialize ser
34273425
return (Diger._digest(ser=cpa, code=code), sad) # raw digest and sad
34283426

34293427

0 commit comments

Comments
 (0)