fixup! refactor(rust/trezor-thp): separate handling for host-side broadcast messages

This commit is contained in:
Martin Milata
2026-02-19 11:38:19 +01:00
parent f10e14a2a8
commit 08f3ceb8ea

View File

@@ -92,6 +92,9 @@ where
/// Enqueue channel allocation request.
pub fn request_channel(&mut self, try_to_unlock: bool) {
if !matches!(self.channel_allocation, AllocationState::None) {
log::warn!("Abandoned previous channel allocation request.");
}
self.channel_allocation = AllocationState::SendingRequest { try_to_unlock };
}