Added logger for TBTCSystem address
@@ -110,6 +110,8 @@ async function createTbtcMaintainersConfig(operatorPrivateKey) {
parsedConfigFile.ethereum.URL = ethWSUrl;
parsedConfigFile.ethereum.PrivateKey = operatorPrivateKey.replace('0x', '')
+
+ console.log("TBTCSystem contract address:", tbtcSystemContractAddress)
parsedConfigFile.ethereum.ContractAddresses.TBTCSystem = tbtcSystemContractAddress;
fs.writeFile('/mnt/tbtc-maintainers/config/tbtc-maintainers-config.toml', tomlify.toToml(parsedConfigFile), (error) => {
@@ -124,4 +126,3 @@ provisionTbtcMaintainers().catch(error => {
console.error(error);
process.exit(1);
});
-
