From 30646c7e718cf4e786242505242c045087bf507d Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Wed, 8 Nov 2023 10:46:31 +0100 Subject: [PATCH] Add no trailing zero bytes rule --- tips/TIP-0050/tip-0050.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tips/TIP-0050/tip-0050.md b/tips/TIP-0050/tip-0050.md index 6cd62671e..12b87955a 100644 --- a/tips/TIP-0050/tip-0050.md +++ b/tips/TIP-0050/tip-0050.md @@ -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