validator/pow: TODOs cleanup

This commit is contained in:
aggstam
2023-10-13 16:48:13 +03:00
parent 8cff15a9b8
commit 594946044e
7 changed files with 95 additions and 72 deletions

View File

@@ -143,7 +143,7 @@ impl Harness {
// Update PoW module
if block.header.version == 1 {
node.module.append(block.header.timestamp.0, &node.module.next_difficulty());
node.module.append(block.header.timestamp.0, &node.module.next_difficulty()?);
}
}