remove helper func

This commit is contained in:
sneurlax 2023-10-13 13:29:11 -05:00
parent ad965e081c
commit d357b8dd69

View file

@ -393,30 +393,4 @@ mixin FusionWalletInterface {
throw UnimplementedError(
"TODO refreshFusion eg look up number of fusion participants connected/coordinating");
}
/// Testing ground for iterating thru the UI state.
///
/// TODO remove this, just for development.
Future<void> stepThruUiStates() async {
// Define the list of states.
final List<fusion.FusionStatus> states = [
fusion.FusionStatus.connecting,
fusion.FusionStatus.setup,
fusion.FusionStatus.waiting,
fusion.FusionStatus.running,
fusion.FusionStatus.complete,
fusion.FusionStatus.failed,
fusion.FusionStatus.exception,
fusion.FusionStatus.reset,
];
// Iterate through the list of states, waiting one second between each.
for (final state in states) {
// Set the connecting status to the current state.
_updateStatus(state);
// Wait one second.
await Future.delayed(const Duration(seconds: 1));
}
}
}