Skip to content

Commit

Permalink
test: createwallet "warning" field deprecation test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Apr 10, 2023
1 parent 645d7f7 commit 9ea8b37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/functional/wallet_createwallet.py
Expand Up @@ -194,6 +194,11 @@ def run_test(self):
"warnings": [EMPTY_PASSPHRASE_MSG, LEGACY_WALLET_MSG],
})

self.log.info('Test "warning" field deprecation, i.e. not returned without -deprecatedrpc=walletwarningfield')
self.restart_node(0, extra_args=[])
result = self.nodes[0].createwallet(wallet_name="w7_again", disable_private_keys=False, blank=False, passphrase="")
assert "warning" not in result


if __name__ == '__main__':
CreateWalletTest().main()

0 comments on commit 9ea8b37

Please sign in to comment.