Revert "don't change for now"
This reverts commit 8ad2d20f43fed40f56e48a817228b48e99cb5fee.
This commit is contained in:
parent
4a88eb4e46
commit
75de83b49b
@ -187,13 +187,12 @@ pub async fn clean_block_number<'a>(
|
||||
}
|
||||
};
|
||||
|
||||
// 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());
|
||||
// }
|
||||
// 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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user