remove chain_height code

This commit is contained in:
Alfredo Garcia 2024-04-02 14:29:58 -03:00
parent 4d3c441c9a
commit 7f746212e1
1 changed files with 1 additions and 4 deletions

View File

@ -235,10 +235,7 @@ impl WalletRead for MemoryWalletDb {
}
fn chain_height(&self) -> Result<Option<BlockHeight>, Self::Error> {
match self.blocks.last_key_value() {
Some((last_key, _)) => Ok(Some(*last_key)),
None => Ok(None),
}
todo!()
}
fn get_block_hash(&self, block_height: BlockHeight) -> Result<Option<BlockHash>, Self::Error> {