Function uniffi_lipalightninglib::recover_lightning_node
source · pub fn recover_lightning_node(
backend_url: String,
seed: Vec<u8>,
local_persistence_path: String,
file_logging_level: Option<Level>
) -> Result<()>
Expand description
Performs a recovery procedure by fetching necessary data from remote storage. It should and can only be called on a fresh install of the app, if the user wants to recover a previously created wallet. If no existing wallet backup is found, returns an error.