From b22f804ed89f7264fb20b4e5b6c2af84e5c066c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C8=99u?= Date: Fri, 11 Feb 2022 14:18:10 +0000 Subject: [PATCH] Use nymt field --- .../scripts/mainnet/deploy-nymt-bandwidth-generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/basic-bandwidth-generation/scripts/mainnet/deploy-nymt-bandwidth-generator.js b/contracts/basic-bandwidth-generation/scripts/mainnet/deploy-nymt-bandwidth-generator.js index 3ddd2ba9c7..ad97aebc0c 100644 --- a/contracts/basic-bandwidth-generation/scripts/mainnet/deploy-nymt-bandwidth-generator.js +++ b/contracts/basic-bandwidth-generation/scripts/mainnet/deploy-nymt-bandwidth-generator.js @@ -17,7 +17,7 @@ async function main() { console.log('...contract successfully deployed...'); - contracts.mainnet.BANDWIDTH_GENERATOR = bandwidthGenerator.address; + contracts.mainnet.BANDWIDTH_GENERATOR_NYMT = bandwidthGenerator.address; // the location of the json file is relative to where you are running the script from - run from root of directory fs.writeFileSync('./contractAddresses.json', JSON.stringify(contracts), (err) => { if (err) throw err;