jr: change network id to gajumaru_devnet
This commit is contained in:
+2
-2
@@ -462,7 +462,7 @@ bi_msg_handler_content
|
|||||||
case "connection.open":
|
case "connection.open":
|
||||||
return w2a_ok({id : "jr",
|
return w2a_ok({id : "jr",
|
||||||
name : "JR",
|
name : "JR",
|
||||||
networkId : "ae_uat",
|
networkId : "gajumaru_devnet",
|
||||||
origin : browser.runtime.getURL('/'),
|
origin : browser.runtime.getURL('/'),
|
||||||
type : "extension"});
|
type : "extension"});
|
||||||
|
|
||||||
@@ -702,7 +702,7 @@ tx_sign
|
|||||||
// SerializedObject can either be the object or the hash of the object
|
// SerializedObject can either be the object or the hash of the object
|
||||||
// let's stick with hash for now
|
// let's stick with hash for now
|
||||||
// FIXME: get network id from application state
|
// 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 tx_hash_bytes : Uint8Array = hash(tx_bytes);
|
||||||
let sign_data : Uint8Array = vdk_binary.bytes_concat(network_id, tx_bytes);
|
let sign_data : Uint8Array = vdk_binary.bytes_concat(network_id, tx_bytes);
|
||||||
// @ts-ignore yes nacl is stupid
|
// @ts-ignore yes nacl is stupid
|
||||||
|
|||||||
Reference in New Issue
Block a user