Skip to main content

drain_nip55_state

Function drain_nip55_state 

Source
pub fn drain_nip55_state()
Expand description

Reset NIP-55 observable state to Idle. Called by reset_session() on swap so a stale state from the previous account doesn’t leak onto the new one. (The Android shell separately cancels any stranded Intent waiters.)