Finish routing eventualities

Also corrects some misc TODOs and tidies up some log statements.
This commit is contained in:
Luke Parker
2023-04-11 05:49:27 -04:00
parent 9e78c8fc9e
commit 90f2b03595
8 changed files with 171 additions and 50 deletions

View File

@@ -39,6 +39,9 @@ pub async fn test_wallet<C: Coin>(coin: C) {
assert_eq!(outputs.len(), 1);
(block_id, outputs)
}
ScannerEvent::Completed(_, _) => {
panic!("unexpectedly got eventuality completion");
}
}
};
@@ -105,6 +108,9 @@ pub async fn test_wallet<C: Coin>(coin: C) {
assert_eq!(time, block.time());
assert_eq!(these_outputs, outputs);
}
ScannerEvent::Completed(_, _) => {
panic!("unexpectedly got eventuality completion");
}
}
// Check the Scanner DB can reload the outputs