Fix RPC tests that require wallet encryption
This commit is contained in:
@@ -98,7 +98,7 @@ def main():
|
|||||||
os.makedirs(options.tmpdir)
|
os.makedirs(options.tmpdir)
|
||||||
initialize_chain(options.tmpdir)
|
initialize_chain(options.tmpdir)
|
||||||
|
|
||||||
nodes = start_nodes(1, options.tmpdir)
|
nodes = start_nodes(1, options.tmpdir, extra_args=[['-developerencryptwallet']])
|
||||||
|
|
||||||
run_test(nodes, options.tmpdir)
|
run_test(nodes, options.tmpdir)
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ from time import *
|
|||||||
|
|
||||||
class WalletNullifiersTest (BitcoinTestFramework):
|
class WalletNullifiersTest (BitcoinTestFramework):
|
||||||
|
|
||||||
|
def setup_nodes(self):
|
||||||
|
return start_nodes(4, self.options.tmpdir,
|
||||||
|
extra_args=[['-developerencryptwallet']] * 4)
|
||||||
|
|
||||||
def run_test (self):
|
def run_test (self):
|
||||||
# add zaddr to node 0
|
# add zaddr to node 0
|
||||||
myzaddr0 = self.nodes[0].z_getnewaddress()
|
myzaddr0 = self.nodes[0].z_getnewaddress()
|
||||||
|
|||||||
Reference in New Issue
Block a user