def wallet_test(self):
    self.log.info('Stop and start pruning node to trigger wallet rescan')
    self.restart_node(2, extra_args=['-prune=550'])
    self.log.info('Success')
    self.log.info('Syncing node 5 to test wallet')
    self.connect_nodes(0, 5)
    nds = [self.nodes[0], self.nodes[5]]
    self.sync_blocks(nds, wait=5, timeout=300)
    self.restart_node(5, extra_args=['-prune=550'])
    self.log.info('Success')
def wallet_test(self):
    self.log.info('Stop and start pruning node to trigger wallet rescan')
    self.restart_node(2, extra_args=['-prune=550'])
    self.log.info('Success')
    self.log.info('Syncing node 5 to test wallet')
    self.connect_nodes(0, 5)
    nds = [self.nodes[0], self.nodes[5]]
    self.sync_blocks(nds, wait=5, timeout=300)
    self.restart_node(5, extra_args=['-prune=550'])
    self.log.info('Success')