diff --git a/Cargo.toml b/Cargo.toml index 61198c0..cdd34db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,8 @@ crate-type = ["cdylib"] bitcoin-payment-instructions = { version = "0.5.0", default-features = false, features = [ "http", ] } -# Branch: https://github.com/moneydevkit/ldk-node/commits/lsp-0.6.2_accept-unerpaying-htlcs/ -ldk-node = { default-features = false, git = "https://github.com/moneydevkit/ldk-node.git", rev = "ec8c62e5185c35f30453d837cf7e7d0c6b420fb6" } +# Branch: https://github.com/moneydevkit/ldk-node/commits/lsp-0.7.0_accept-unerpaying-htlcs +ldk-node = { default-features = false, git = "https://github.com/moneydevkit/ldk-node.git", rev = "927735f65ae734febfa7ecf5e305d215a2dec6a1" } napi = { version = "2", features = ["napi4"] } napi-derive = "2" tokio = { version = "1", features = ["rt-multi-thread"] } diff --git a/src/lib.rs b/src/lib.rs index 630a113..96a5078 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -200,7 +200,7 @@ pub fn set_log_listener( #[napi] pub fn generate_mnemonic() -> String { - generate_entropy_mnemonic().to_string() + generate_entropy_mnemonic(None).to_string() } fn derive_vss_identifier(mnemonic: &Mnemonic) -> String { @@ -1145,6 +1145,7 @@ impl MdkNode { amount_to_send_msat, None, Some("A payment by MoneyDevKit".to_string()), + None, ) { Ok(payment_id) => payment_id, Err(error) => {