Rebase onto develop, which reverted this PR, and re-apply this PR

This commit is contained in:
Luke Parker
2024-04-28 03:44:03 -04:00
parent 209eae9a9a
commit 6055150451
8 changed files with 128 additions and 528 deletions

View File

@@ -145,7 +145,7 @@ impl Network for TestNetwork {
println!("Slash for {id} due to {event:?}");
}
async fn validate(&mut self, block: &TestBlock) -> Result<(), BlockError> {
async fn validate(&self, block: &TestBlock) -> Result<(), BlockError> {
block.valid
}