uniffi_lipalightninglib

Function accept_terms_and_conditions

source
pub fn accept_terms_and_conditions(
    backend_url: String,
    seed: Vec<u8>,
    version: i64,
    fingerprint: String,
) -> Result<()>
Expand description

Accept lipa’s terms and conditions. Should be called before instantiating a LightningNode for the first time.

Parameters:

  • backend_url
  • seed - the seed from the wallet for which the T&C will be accepted.
  • version - the version number being accepted.
  • fingerprint - the fingerprint of the version being accepted.

Requires network: yes