Skip to content

Commit

Permalink
Add no trailing zero bytes rule
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Nov 8, 2023
1 parent 85393d0 commit 30646c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tips/TIP-0050/tip-0050.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ valid, the following conditions must hold:
previous byte, the indices continue where the previous byte's indices left off.
- For example: In this list of two bytes with the bit patterns `0001 0000` and `0000 0100`, bits with indices `4` and
`10` are set.
- There must be no trailing zero bytes in the byte array.
- This rule ensures that an address with the same raw address bytes and the same capabilities will yield the same
binary and bech32 representation.

### Capability Flags

Expand Down

0 comments on commit 30646c7

Please sign in to comment.