Calculate timeouts

This commit is contained in:
Luke Parker
2022-10-16 07:54:07 -04:00
parent 77ba1c00e2
commit 079eee931a
3 changed files with 28 additions and 2 deletions

View File

@@ -45,6 +45,8 @@ impl Network for TestNetwork {
type Weights = TestWeights;
type Block = TestBlock;
const BLOCK_TIME: u32 = 1;
fn weights(&self) -> Arc<TestWeights> {
Arc::new(TestWeights)
}