def setup_chain(self):
    super().setup_chain()
    rpcauth = 'rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144'
    rpcauth2 = 'rpcauth=rt2:f8607b1a88861fac29dfccf9b52ff9f$ff36a0c23c8c62b4846112e50fa888416e94c17bfd4c42f88fd8f55ec6a3137e'
    with open(os.path.join((self.options.tmpdir + '/node0'), 'polis.conf'), 'a', encoding='utf8') as f:
        f.write((rpcauth + '\n'))
        f.write((rpcauth2 + '\n'))
def setup_chain(self):
    super().setup_chain()
    rpcauth = 'rpcauth=rt:93648e835a54c573682c2eb19f882535$7681e9c5b74bdd85e78166031d2058e1069b3ed7ed967c93fc63abba06f31144'
    rpcauth2 = 'rpcauth=rt2:f8607b1a88861fac29dfccf9b52ff9f$ff36a0c23c8c62b4846112e50fa888416e94c17bfd4c42f88fd8f55ec6a3137e'
    with open(os.path.join((self.options.tmpdir + '/node0'), 'polis.conf'), 'a', encoding='utf8') as f:
        f.write((rpcauth + '\n'))
        f.write((rpcauth2 + '\n'))