stale comment
This commit is contained in:
parent
bc1224a0e1
commit
80a29ceac0
@ -423,8 +423,6 @@ impl Web3Connections {
|
|||||||
|
|
||||||
pub async fn get_block(&self, num: U64) -> anyhow::Result<Arc<Block<TxHash>>> {
|
pub async fn get_block(&self, num: U64) -> anyhow::Result<Arc<Block<TxHash>>> {
|
||||||
if let Some(block) = self.chain.get_block(&num) {
|
if let Some(block) = self.chain.get_block(&num) {
|
||||||
// for now, just return the first seen block. we actually want the winning block!
|
|
||||||
// TODO: don't clone
|
|
||||||
return Ok(block);
|
return Ok(block);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user