Skip to content

Commit

Permalink
fix: remove stuint[32]
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jun 5, 2024
1 parent 6298267 commit 153e0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/waku_keystore/protocol_types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ proc toIDCommitment*(idCommitmentUint: UInt256): IDCommitment =

type MembershipIndex* = uint

proc toMembershipIndex*(v: StUint[32] or UInt256): MembershipIndex =
proc toMembershipIndex*(v: UInt256): MembershipIndex =
return cast[MembershipIndex](v)

# Converts a sequence of tuples containing 4 string (i.e. identity trapdoor, nullifier, secret hash, commitment) to an IdentityCredential
Expand Down

0 comments on commit 153e0e0

Please sign in to comment.