diff --git a/hubzilla/addon/g1wallet/view/js/g1wallet.js b/hubzilla/addon/g1wallet/view/js/g1wallet.js index 528239a..40211b1 100644 --- a/hubzilla/addon/g1wallet/view/js/g1wallet.js +++ b/hubzilla/addon/g1wallet/view/js/g1wallet.js @@ -662,8 +662,8 @@ // For Ğ1: prefix = 36 (single-byte SS58 format... wait) // Let's verify: Ğ1 addresses start with "g1" in base58. // From DUNITER-RPC-FINDINGS: 2-byte prefix 0x5891 - // 0x5891 = [0x91, 0x58] in little-endian - var prefixBytes = new Uint8Array([0x91, 0x58]); + // 0x5891 = bytes [0x58, 0x91] in decoded order (verified against live address) + var prefixBytes = new Uint8Array([0x58, 0x91]); // Payload = prefixBytes + pubkeyBytes (34 bytes total) var payload = new Uint8Array(34);