make chainId dependant on the stored value
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
b0e7da9f86
commit
9f79182c37
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.3.7",
|
"version": "0.3.8",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -242,7 +242,7 @@ const Bridge = ({ chainId, address, config, connect }) => {
|
|||||||
|
|
||||||
const amount = new DecimalBigNumber(BigInt(currentRecord.amount), 18).toString();
|
const amount = new DecimalBigNumber(BigInt(currentRecord.amount), 18).toString();
|
||||||
let url = "https://lite.ghostchain.io/#/applause?";
|
let url = "https://lite.ghostchain.io/#/applause?";
|
||||||
url += `networkId=${chainId}&`;
|
url += `networkId=${currentRecord.chainId}&`;
|
||||||
url += `sessionIndex=${currentRecord.sessionIndex}&`;
|
url += `sessionIndex=${currentRecord.sessionIndex}&`;
|
||||||
url += `amount=${amount}&`;
|
url += `amount=${amount}&`;
|
||||||
url += `receiver=${currentRecord.receiverAddress}&`;
|
url += `receiver=${currentRecord.receiverAddress}&`;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user