mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
wallet, rpc: deprecate settxfee and paytxfee
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user