def METHOD_NAME(self, wallet_name):
    self.log.info("Make sure we can import wallet when pruned and required blocks are still available")
    wallet_file = wallet_name + ".dat"
    wallet_birthheight = self.get_birthheight(wallet_file)
    # Verify that the block at wallet's birthheight is available at the pruned node
    self.nodes[1].getblock(self.nodes[1].getblockhash(wallet_birthheight))
    # Import wallet into pruned node
    self.nodes[1].createwallet(wallet_name="wallet_pruned", descriptors=False, load_on_startup=True)
    self.nodes[1].importwallet(os.path.join(self.nodes[0].datadir, wallet_file))
    # Make sure that prune node's wallet correctly accounts for balances
    assert_equal(self.nodes[1].getbalance(), self.nodes[0].getbalance())
    self.log.info("- Done")