Skip to content

Commit

Permalink
Update src/status-list/StatusList/Bitstring.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 authored Oct 15, 2024
1 parent 8cfccf3 commit d42aa07
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/status-list/StatusList/Bitstring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,5 @@ function _parsePosition(
// When a single bit specifies a status, such as "revoked" or "suspended",
// then that status is expected to be true when the bit is set (1) and false when unset (0).
const bit = (1 << shift)
// the real bit value is bit % 8
return { index, bit }
}

0 comments on commit d42aa07

Please sign in to comment.