don't change for now

This commit is contained in:
Bryan Stitt 2023-11-01 09:35:34 -07:00
parent 2255099655
commit 8ad2d20f43

View File

@ -187,12 +187,13 @@ pub async fn clean_block_number<'a>(
}
};
// if we changed "latest" to an actual block, update the params to match
// TODO: should we do hash or number? some functions work with either, but others need a number :cry:
if change {
trace!(old=%x, new=%block.num(), "changing block number");
*x = json!(block.num());
}
// TODO: this scares me. we need it, so bring it back soon. but for now i think its breaking things
// // if we changed "latest" to an actual block, update the params to match
// // TODO: should we do hash or number? some functions work with either, but others need a number :cry:
// if change {
// trace!(old=%x, new=%block.num(), "changing block number");
// *x = json!(block.num());
// }
Ok(block)
}