Skip to main content

set_peer_active

Function set_peer_active 

Source
pub fn set_peer_active(did: &str, active: bool) -> Result<(), String>
Expand description

Set the active flag on the peer with the given did, then persist.

Returns an error if no peer with that did is stored.