save_invite_key

Function save_invite_key 

Source
pub fn save_invite_key(payload: &InvitePayload) -> BpResult<()>
Expand description

Persist the NetworkMetaKey from a redeemed invite to local storage.

Must be called after redeem_invite succeeds. After this call, NetworkMetaKey::load(&payload.network_id) will return Some(key).