kernel: remove btck_chain_get_genesis

It is equivalent to calling btck_chain_get_by_height(0).
This commit is contained in:
stickies-v
2025-11-06 17:34:12 +00:00
parent 513a0da2e0
commit 4dd7e6dc48
4 changed files with 1 additions and 21 deletions

View File

@@ -982,11 +982,6 @@ public:
return btck_chain_get_height(get()) + 1;
}
BlockTreeEntry Genesis() const
{
return btck_chain_get_genesis(get());
}
BlockTreeEntry GetByHeight(int height) const
{
auto index{btck_chain_get_by_height(get(), height)};