def setup_network(self):
    extra_args = ([['-whitelist=127.0.0.1']] * self.num_nodes)
    if hasattr(self, 'extra_args'):
        extra_args = self.extra_args
    self.add_nodes(self.num_nodes, extra_args, binary=([self.options.testbinary] + ([self.options.refbinary] * (self.num_nodes - 1))))
    self.start_nodes()
def setup_network(self):
    extra_args = ([['-whitelist=127.0.0.1']] * self.num_nodes)
    if hasattr(self, 'extra_args'):
        extra_args = self.extra_args
    self.add_nodes(self.num_nodes, extra_args, binary=([self.options.testbinary] + ([self.options.refbinary] * (self.num_nodes - 1))))
    self.start_nodes()