jr: change network id to gajumaru_devnet

This commit is contained in:
2024-03-19 05:13:35 -06:00
parent ba0fcf61f8
commit 142fba9a2b
+2 -2
View File
@@ -462,7 +462,7 @@ bi_msg_handler_content
case "connection.open":
return w2a_ok({id : "jr",
name : "JR",
networkId : "ae_uat",
networkId : "gajumaru_devnet",
origin : browser.runtime.getURL('/'),
type : "extension"});
@@ -702,7 +702,7 @@ tx_sign
// SerializedObject can either be the object or the hash of the object
// let's stick with hash for now
// FIXME: get network id from application state
let network_id : Uint8Array = vdk_binary.encode_utf8('ae_uat');
let network_id : Uint8Array = vdk_binary.encode_utf8('gajumaru_devnet');
// let tx_hash_bytes : Uint8Array = hash(tx_bytes);
let sign_data : Uint8Array = vdk_binary.bytes_concat(network_id, tx_bytes);
// @ts-ignore yes nacl is stupid