Skip to content

Commit

Permalink
Cleanup unused --with-phononactivation from test_framework
Browse files Browse the repository at this point in the history
Summary: See title.

Test Plan: `test_runner.py`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D6797
  • Loading branch information
jasonbcox authored and ftrader committed Aug 15, 2020
1 parent cc6075d commit f6b5dd5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/functional/test_framework/test_framework.py
Expand Up @@ -130,8 +130,6 @@ def main(self):
help="Attach a python debugger if test fails")
parser.add_argument("--usecli", dest="usecli", default=False, action="store_true",
help="use bitcoin-cli instead of RPC for all commands")
parser.add_argument("--with-phononactivation", dest="phononactivation", default=False, action="store_true",
help="Activate phonon update on timestamp {}".format(TIMESTAMP_IN_THE_PAST))
parser.add_argument("--with-axionactivation", dest="axionactivation", default=False, action="store_true",
help="Activate axion update on timestamp {}".format(TIMESTAMP_IN_THE_PAST))
self.add_options(parser)
Expand Down Expand Up @@ -334,9 +332,6 @@ def add_nodes(self, num_nodes, extra_args=None,
use_cli=self.options.usecli,
emulator=self.options.emulator,
))
if self.options.phononactivation:
self.nodes[i].extend_default_args(
["-phononactivationtime={}".format(TIMESTAMP_IN_THE_PAST)])
if self.options.axionactivation:
self.nodes[i].extend_default_args(
["-axionactivationtime={}".format(TIMESTAMP_IN_THE_PAST)])
Expand Down Expand Up @@ -501,9 +496,6 @@ def _initialize_chain(self):
if i > 0:
self.nodes[i].extend_default_args(
["-connect=127.0.0.1:" + str(p2p_port(0))])
if self.options.phononactivation:
self.nodes[i].extend_default_args(
["-phononactivationtime={}".format(TIMESTAMP_IN_THE_PAST)])
if self.options.axionactivation:
self.nodes[i].extend_default_args(
["-axionactivationtime={}".format(TIMESTAMP_IN_THE_PAST)])
Expand Down

0 comments on commit f6b5dd5

Please sign in to comment.