aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_keypool_topup.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_keypool_topup.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_keypool_topup.py')
-rwxr-xr-xtest/functional/wallet_keypool_topup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_keypool_topup.py b/test/functional/wallet_keypool_topup.py
index 30a0c9a760..ab1493dd04 100755
--- a/test/functional/wallet_keypool_topup.py
+++ b/test/functional/wallet_keypool_topup.py
@@ -25,7 +25,7 @@ class KeypoolRestoreTest(BitcoinTestFramework):
def set_test_params(self):
self.setup_clean_chain = True
self.num_nodes = 2
- self.extra_args = [[], ['-keypool=100', '-keypoolmin=20']]
+ self.extra_args = [['-deprecatedrpc=accounts'], ['-deprecatedrpc=accounts', '-keypool=100', '-keypoolmin=20']]
def run_test(self):
wallet_path = os.path.join(self.nodes[1].datadir, "regtest", "wallets", "wallet.dat")