mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-27 16:05:39 +01:00
kernel: remove btck_chain_get_genesis
It is equivalent to calling btck_chain_get_by_height(0).
This commit is contained in:
@@ -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)};
|
||||
|
||||
Reference in New Issue
Block a user