feat: remove unclassified hash_options constructor

This commit is contained in:
Nicholas Dudfield
2025-09-10 10:54:01 +07:00
parent d7bfff2bef
commit ae46394788

View File

@@ -112,13 +112,6 @@ struct hash_options
std::optional<std::uint32_t> ledger_index;
HashContext classifier;
// Constructor for ledger sequence only (defaults to LEDGER_INDEX_UNKNOWN
// classifier)
explicit hash_options(std::uint32_t li)
: ledger_index(li), classifier(LEDGER_INDEX_UNKNOWN)
{
}
// Constructor for classifier only (no ledger index)
explicit hash_options(HashContext ctx)
: ledger_index(std::nullopt), classifier(ctx)