Skip to main content

set_bunker_state

Function set_bunker_state 

Source
pub fn set_bunker_state(new_state: BunkerConnectionState)
Expand description

Install a new bunker state and fan out a bunker_state event to the frontend. No-op if the state didn’t change — avoids spamming the UI with duplicate transitions when a signing call confirms what’s already known.