wallet, rpc: deprecate settxfee and paytxfee

This commit is contained in:
Pol Espinasa
2025-03-04 12:11:12 +01:00
parent 83a9e55ae1
commit bf194c920c
11 changed files with 32 additions and 8 deletions

View File

@@ -598,9 +598,9 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
# Wait for nodes to stop
node.wait_until_stopped()
def restart_node(self, i, extra_args=None, clear_addrman=False):
def restart_node(self, i, extra_args=None, clear_addrman=False, *, expected_stderr=''):
"""Stop and start a test node"""
self.stop_node(i)
self.stop_node(i, expected_stderr=expected_stderr)
if clear_addrman:
peers_dat = self.nodes[i].chain_path / "peers.dat"
os.remove(peers_dat)