aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_import_rescan.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-04-16 13:53:35 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-16 14:43:34 -0400
commit3db1ba01c783c1e35782405750c308be2b6171e3 (patch)
treec997b62d8eabad3e51a523ddbbbe7425915487df /test/functional/wallet_import_rescan.py
parent4e671f0353beaa3759f2069569f05239c0be89cf (diff)
downloadbitcoin-3db1ba01c783c1e35782405750c308be2b6171e3.tar.xz
[tests] Set -deprecatedrpc=accounts in tests
Future commits will deprecate the accounts RPC methods, arguments and return objects. Set the -deprecatedrpc=accounts switch now so tests don't break in intermediate commits.
Diffstat (limited to 'test/functional/wallet_import_rescan.py')
-rwxr-xr-xtest/functional/wallet_import_rescan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_import_rescan.py b/test/functional/wallet_import_rescan.py
index b66e9b5d91..6775d8b46d 100755
--- a/test/functional/wallet_import_rescan.py
+++ b/test/functional/wallet_import_rescan.py
@@ -119,7 +119,7 @@ class ImportRescanTest(BitcoinTestFramework):
self.num_nodes = 2 + len(IMPORT_NODES)
def setup_network(self):
- extra_args = [["-addresstype=legacy"] for _ in range(self.num_nodes)]
+ extra_args = [["-addresstype=legacy", '-deprecatedrpc=accounts'] for _ in range(self.num_nodes)]
for i, import_node in enumerate(IMPORT_NODES, 2):
if import_node.prune:
extra_args[i] += ["-prune=1"]