lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct FailHtlcsInput {
    /// The id of invoice which the pending HTLCs that need to be failed are paying for.
    pub invoice_id: String,

    /// Whether the invoice needs to be canceled after failing the htlcs. If yes, the invoice cannot be paid anymore.
    pub cancel_invoice: bool,
}