diff options
author | Elliott Jin <elliott.jin@gmail.com> | 2020-09-17 00:32:01 -0700 |
---|---|---|
committer | Elliott Jin <elliott.jin@gmail.com> | 2020-10-20 00:27:45 -0700 |
commit | be386840d4a394a1b6221fb7d0fa2b0bc4b1d413 (patch) | |
tree | f98ca6eef1e91537f0858b759841bae1b016f75b /test/functional/rpc_psbt.py | |
parent | f5bd46a4cc6d395ce71ecb99852c1774235a249c (diff) | |
download | bitcoin-be386840d4a394a1b6221fb7d0fa2b0bc4b1d413.tar.xz |
test: Replace use of (dis)?connect_nodes globals
A later scripted-diff commit replaces the majority of uses, which all
follow this pattern:
(dis)?connect_nodes(self.nodes[a], b)
This commit replaces the few "special cases".
Diffstat (limited to 'test/functional/rpc_psbt.py')
-rwxr-xr-x | test/functional/rpc_psbt.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 10aebc2b1d..1e907cd4ae 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -13,7 +13,6 @@ from test_framework.util import ( assert_greater_than, assert_raises_rpc_error, connect_nodes, - disconnect_nodes, find_output, ) @@ -46,7 +45,7 @@ class PSBTTest(BitcoinTestFramework): # Disconnect offline node from others # Topology of test network is linear, so this one call is enough - disconnect_nodes(offline_node, 1) + self.disconnect_nodes(0, 1) # Create watchonly on online_node online_node.createwallet(wallet_name='wonline', disable_private_keys=True) |