def METHOD_NAME(self):
    if self.options.descriptors:
        return
    self.log.info("Test that encrypting a blank legacy wallet preserves the blank flag and does not generate a seed")
    self.nodes[0].createwallet(wallet_name="encblanklegacy", blank=True)
    wallet = self.nodes[0].get_wallet_rpc("encblanklegacy")
    info = wallet.getwalletinfo()
    assert_equal(info["descriptors"], False)
    assert_equal(info["blank"], True)
    assert "hdseedid" not in info
    wallet.encryptwallet("pass")
    info = wallet.getwalletinfo()
    assert_equal(info["blank"], True)
    assert "hdseedid" not in info