Get the result of block importing

This commit is contained in:
Luke Parker
2022-10-22 01:43:07 -04:00
parent 8ed0f1f1cf
commit 193281e387
5 changed files with 63 additions and 13 deletions

View File

@@ -109,7 +109,7 @@ impl Network for TestNetwork {
todo!()
}
fn validate(&mut self, block: &TestBlock) -> Result<(), BlockError> {
async fn validate(&mut self, block: &TestBlock) -> Result<(), BlockError> {
block.valid
}