Update 0016_public_key_checksum.md to handle leading 1 in checksum (and pubkey)
Compare changes
+ 11
− 5
@@ -7,7 +7,7 @@ Type: Convention
@@ -7,7 +7,7 @@ Type: Convention
@@ -20,14 +20,17 @@ For compatibility, clients MAY accept checksum based on this last standard for u
@@ -20,14 +20,17 @@ For compatibility, clients MAY accept checksum based on this last standard for u
@@ -58,10 +61,10 @@ while len(pubkey_byte) > 32:
@@ -58,10 +61,10 @@ while len(pubkey_byte) > 32:
@@ -70,6 +73,9 @@ Example of two valid representations of a public key with their checksum:
@@ -70,6 +73,9 @@ Example of two valid representations of a public key with their checksum:
This function is used when a public key is typed manually on the keyboard (or issue on QRcode reader)
This technique is better than adding only some checksum bytes at the end of the key, before the base58.encode because: