# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
-
[[package]]
name = "autocfg"
version = "1.0.1"
[[package]]
name = "lightning"
version = "0.0.99"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bitcoin",
"secp256k1",
[[package]]
name = "lightning-background-processor"
version = "0.0.99"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bitcoin",
"lightning",
[[package]]
name = "lightning-block-sync"
version = "0.0.99"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bitcoin",
"chunked_transfer",
[[package]]
name = "lightning-invoice"
version = "0.7.0"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bech32",
"bitcoin_hashes",
[[package]]
name = "lightning-net-tokio"
version = "0.0.99"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bitcoin",
"lightning",
[[package]]
name = "lightning-persister"
version = "0.0.99"
-source = "git+https://github.com/rust-bitcoin/rust-lightning?branch=main#9d8d24f6906d6fbdc6c02a88e5e2298c1fa50825"
+source = "git+https://git.bitcoin.ninja/rust-lightning?branch=2021-07-new-closing-fee#9425aadbb574a1f4b08e3e2929676b45c99b3c69"
dependencies = [
"bitcoin",
"libc",
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-lightning = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
-lightning-block-sync = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main", features = [ "rpc-client" ] }
-lightning-invoice = { version = "0.7", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
-lightning-net-tokio = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
-lightning-persister = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
-lightning-background-processor = { version = "0.0.99", git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
+lightning = { version = "0.0.99", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee" }
+lightning-block-sync = { version = "0.0.99", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee", features = [ "rpc-client" ] }
+lightning-invoice = { version = "0.7", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee" }
+lightning-net-tokio = { version = "0.0.99", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee" }
+lightning-persister = { version = "0.0.99", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee" }
+lightning-background-processor = { version = "0.0.99", git = "https://git.bitcoin.ninja/rust-lightning", branch = "2021-07-new-closing-fee" }
base64 = "0.13.0"
bitcoin = "0.27"
}
fn close_channel(channel_id: [u8; 32], channel_manager: Arc<ChannelManager>) {
- match channel_manager.close_channel(&channel_id) {
+ match channel_manager.close_channel(&channel_id, None) {
Ok(()) => println!("EVENT: initiating channel close"),
Err(e) => println!("ERROR: failed to close channel: {:?}", e),
}