fedimint_ln_client::db

Function get_v1_migrated_state

Source
pub(crate) fn get_v1_migrated_state(
    operation_id: OperationId,
    cursor: &mut Cursor<&[u8]>,
) -> Result<Option<(Vec<u8>, OperationId)>>
Expand description

Migrates SubmittedOfferV0 to SubmittedOffer and ConfirmedInvoiceV0 to ConfirmedInvoice