don't change for now
This commit is contained in:
parent
2255099655
commit
8ad2d20f43
@ -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: this scares me. we need it, so bring it back soon. but for now i think its breaking things
|
||||||
// TODO: should we do hash or number? some functions work with either, but others need a number :cry:
|
// // if we changed "latest" to an actual block, update the params to match
|
||||||
if change {
|
// // TODO: should we do hash or number? some functions work with either, but others need a number :cry:
|
||||||
trace!(old=%x, new=%block.num(), "changing block number");
|
// if change {
|
||||||
*x = json!(block.num());
|
// trace!(old=%x, new=%block.num(), "changing block number");
|
||||||
}
|
// *x = json!(block.num());
|
||||||
|
// }
|
||||||
|
|
||||||
Ok(block)
|
Ok(block)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user