mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Finish routing eventualities
Also corrects some misc TODOs and tidies up some log statements.
This commit is contained in:
@@ -56,6 +56,9 @@ async fn spend<C: Coin, D: Db>(
|
||||
assert_eq!(outputs[0].kind(), OutputType::Change);
|
||||
outputs
|
||||
}
|
||||
ScannerEvent::Completed(_, _) => {
|
||||
panic!("unexpectedly got eventuality completion");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,6 +92,9 @@ pub async fn test_addresses<C: Coin>(coin: C) {
|
||||
assert_eq!(outputs[0].kind(), OutputType::Branch);
|
||||
outputs
|
||||
}
|
||||
ScannerEvent::Completed(_, _) => {
|
||||
panic!("unexpectedly got eventuality completion");
|
||||
}
|
||||
};
|
||||
|
||||
// Spend the branch output, creating a change output and ensuring we actually get change
|
||||
|
||||
Reference in New Issue
Block a user