Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1352,11 +1352,11 @@ fn build_with_store_internal(
let mut user_config = default_user_config(&config);

if liquidity_source_config.and_then(|lsc| lsc.lsps2_service.as_ref()).is_some() {
// If we act as an LSPS2 service, we need to to be able to intercept HTLCs and forward the
// If we act as an LSPS2 service, we need to be able to intercept HTLCs and forward the
// information to the service handler.
user_config.accept_intercept_htlcs = true;

// If we act as an LSPS2 service, we allow forwarding to unnannounced channels.
// If we act as an LSPS2 service, we allow forwarding to unannounced channels.
user_config.accept_forwards_to_priv_channels = true;

// If we act as an LSPS2 service, set the HTLC-value-in-flight to 100% of the channel value
Expand Down
2 changes: 1 addition & 1 deletion src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub enum Event {
///
/// This needs to be manually claimed by supplying the correct preimage to [`claim_for_hash`].
///
/// If the the provided parameters don't match the expectations or the preimage can't be
/// If the provided parameters don't match the expectations or the preimage can't be
/// retrieved in time, should be failed-back via [`fail_for_hash`].
///
/// Note claiming will necessarily fail after the `claim_deadline` has been reached.
Expand Down
4 changes: 2 additions & 2 deletions src/ffi/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1169,9 +1169,9 @@ pub struct LSPS1OnchainPaymentInfo {
pub expires_at: LSPSDateTime,
/// The total fee the LSP will charge to open this channel in satoshi.
pub fee_total_sat: u64,
/// The amount the client needs to pay to have the requested channel openend.
/// The amount the client needs to pay to have the requested channel opened.
pub order_total_sat: u64,
/// An on-chain address the client can send [`Self::order_total_sat`] to to have the channel
/// An on-chain address the client can send [`Self::order_total_sat`] to have the channel
/// opened.
pub address: bitcoin::Address,
/// The minimum number of block confirmations that are required for the on-chain payment to be
Expand Down
2 changes: 1 addition & 1 deletion src/io/sqlite_store/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ mod tests {

connection.execute(&sql, []).unwrap();

// We write some data to to the table
// We write some data to the table
let sql = format!(
"INSERT OR REPLACE INTO {} (namespace, key, value) VALUES (:namespace, :key, :value);",
kv_table_name
Expand Down
Loading