diff options
| author | MarcoFalke <[email protected]> | 2019-07-31 14:11:32 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-07-31 17:00:25 -0400 |
| commit | fa8a1d7ba30040f8c74f93fc41a61276c255a6a6 (patch) | |
| tree | b5a686fcc62909c549c5a38f86d81678123b2dad /test/functional/rpc_bind.py | |
| parent | test: Fix “local variable 'e' is assigned to but never used” (diff) | |
| download | discoin-fa8a1d7ba30040f8c74f93fc41a61276c255a6a6.tar.xz discoin-fa8a1d7ba30040f8c74f93fc41a61276c255a6a6.zip | |
test: Adapt test framework for chains other than "regtest"
Co-Authored-By: Jorge Timón <[email protected]>
Diffstat (limited to 'test/functional/rpc_bind.py')
| -rwxr-xr-x | test/functional/rpc_bind.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_bind.py b/test/functional/rpc_bind.py index acc7cd811..8979251a2 100755 --- a/test/functional/rpc_bind.py +++ b/test/functional/rpc_bind.py @@ -55,7 +55,7 @@ class RPCBindTest(BitcoinTestFramework): self.nodes[0].rpchost = None self.start_nodes([node_args]) # connect to node through non-loopback interface - node = get_rpc_proxy(rpc_url(self.nodes[0].datadir, 0, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir) + node = get_rpc_proxy(rpc_url(self.nodes[0].datadir, 0, self.chain, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir) node.getnetworkinfo() self.stop_nodes() |