未验证 提交 ff194a00 编写于 作者: G Greg Lee 提交者: GitHub

Merge pull request #3620 from EOSIO/launcher-genesis-update

Move genesis-json option from config.ini to command line
......@@ -978,7 +978,6 @@ launcher_def::write_config_file (tn_node_def &node) {
exit (-1);
}
cfg << "genesis-json = " << host->genesis << "\n";
cfg << "blocks-dir = " << block_dir << "\n";
cfg << "readonly = 0\n";
cfg << "send-whole-blocks = true\n";
......@@ -1462,6 +1461,7 @@ launcher_def::launch (eosd_def &instance, string &gts) {
}
eosdcmd += " --config-dir " + instance.config_dir_name + " --data-dir " + instance.data_dir_name;
eosdcmd += " --genesis-json " + genesis.string();
if (gts.length()) {
eosdcmd += " --genesis-timestamp " + gts;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册