update adpater

This commit is contained in:
owen05
2021-03-22 23:48:41 +08:00
parent bb2ce2e496
commit 5c75888e78
7 changed files with 128 additions and 109 deletions

View File

@@ -3,7 +3,7 @@ const { BSC_CONFIG } = require("./config/bsc-config");
const { HECO_CONFIG } = require("./config/heco-config");
const { KOVAN_CONFIG } = require("./config/kovan-config");
const { MBTEST_CONFIG } = require("./config/mbtest-config");
const { MBLOCAL_CONFIG } = require("./config/mblocal-config");
const { OKTEST_CONFIG } = require("./config/oktest-config");
exports.GetConfig = function (network, accounts) {
var CONFIG = {}
@@ -27,8 +27,8 @@ exports.GetConfig = function (network, accounts) {
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;
case "mbdev":
CONFIG = MBLOCAL_CONFIG
case "oktest":
CONFIG = OKTEST_CONFIG
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;