@@ -109,7 +109,7 @@ def run_test(self):
109109 assert_raises_rpc_error (- 4 , "Error: This wallet has no available keys" , w4 .getnewaddress )
110110 assert_raises_rpc_error (- 4 , "Error: This wallet has no available keys" , w4 .getrawchangeaddress )
111111 # Now set a seed and it should work. Wallet should also be encrypted
112- w4 .walletpassphrase (' pass' , 60 )
112+ w4 .walletpassphrase (" pass" , 999000 )
113113 if self .options .descriptors :
114114 w4 .importdescriptors ([{
115115 'desc' : descsum_create ('wpkh(tprv8ZgxMBicQKsPcwuZGKp8TeWppSuLMiLe2d9PupB14QpPeQsqoj3LneJLhGHH13xESfvASyd4EFLJvLrG8b7DrLxEuV7hpF9uUc6XruKA1Wq/0h/*)' ),
@@ -142,7 +142,7 @@ def run_test(self):
142142 self .nodes [0 ].createwallet (wallet_name = 'wblank' , disable_private_keys = False , blank = True , passphrase = 'thisisapassphrase' )
143143 wblank = node .get_wallet_rpc ('wblank' )
144144 assert_raises_rpc_error (- 13 , "Error: Please enter the wallet passphrase with walletpassphrase first." , wblank .signmessage , "needanargument" , "test" )
145- wblank .walletpassphrase (' thisisapassphrase' , 60 )
145+ wblank .walletpassphrase (" thisisapassphrase" , 999000 )
146146 assert_raises_rpc_error (- 4 , "Error: This wallet has no available keys" , wblank .getnewaddress )
147147 assert_raises_rpc_error (- 4 , "Error: This wallet has no available keys" , wblank .getrawchangeaddress )
148148
@@ -151,7 +151,7 @@ def run_test(self):
151151 self .nodes [0 ].createwallet (wallet_name = 'w6' , disable_private_keys = False , blank = False , passphrase = 'thisisapassphrase' )
152152 w6 = node .get_wallet_rpc ('w6' )
153153 assert_raises_rpc_error (- 13 , "Error: Please enter the wallet passphrase with walletpassphrase first." , w6 .signmessage , "needanargument" , "test" )
154- w6 .walletpassphrase (' thisisapassphrase' , 60 )
154+ w6 .walletpassphrase (" thisisapassphrase" , 999000 )
155155 w6 .signmessage (w6 .getnewaddress ('' , 'legacy' ), "test" )
156156 w6 .keypoolrefill (1 )
157157 # There should only be 1 key for legacy, 3 for descriptors
0 commit comments