Updated
This commit is contained in:
@@ -662,8 +662,8 @@
|
|||||||
// For Ğ1: prefix = 36 (single-byte SS58 format... wait)
|
// For Ğ1: prefix = 36 (single-byte SS58 format... wait)
|
||||||
// Let's verify: Ğ1 addresses start with "g1" in base58.
|
// Let's verify: Ğ1 addresses start with "g1" in base58.
|
||||||
// From DUNITER-RPC-FINDINGS: 2-byte prefix 0x5891
|
// From DUNITER-RPC-FINDINGS: 2-byte prefix 0x5891
|
||||||
// 0x5891 = [0x91, 0x58] in little-endian
|
// 0x5891 = bytes [0x58, 0x91] in decoded order (verified against live address)
|
||||||
var prefixBytes = new Uint8Array([0x91, 0x58]);
|
var prefixBytes = new Uint8Array([0x58, 0x91]);
|
||||||
|
|
||||||
// Payload = prefixBytes + pubkeyBytes (34 bytes total)
|
// Payload = prefixBytes + pubkeyBytes (34 bytes total)
|
||||||
var payload = new Uint8Array(34);
|
var payload = new Uint8Array(34);
|
||||||
|
|||||||
Reference in New Issue
Block a user