Skip to content

Commit 6d2f3b9

Browse files
committed
Merge #217: chore(example_wallet_rpc): bump ctrlc to 3.4.6
89f0f3b chore(example_wallet_rpc): bump `ctrlc` to 3.4.6 (Luis Schwab) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description This PR bumps `ctrlc` to 3.4.6 (latest) on `example_wallet_rpc` and also fixes a clippy warning. ### Checklists #### All Submissions: * [X] I've signed all my commits * [X] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [X] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: notmandatory: ACK 89f0f3b ValuedMammal: ACK 89f0f3b Tree-SHA512: 64f6458071b04f7181f97404f9e2a21fff5e5a8ac1d3d981f404953f464e7ccd21a13f559b294ff1999ece65be250b66aea1429dc1ab153565dc78fd2f898cb5
2 parents 8d09cb2 + 89f0f3b commit 6d2f3b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/example_wallet_rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ bdk_bitcoind_rpc = { version = "0.18" }
1111

1212
anyhow = "1"
1313
clap = { version = "4.5.17", features = ["derive", "env"] }
14-
ctrlc = "2.0.1"
14+
ctrlc = "3.4.6"

examples/example_wallet_rpc/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn main() -> anyhow::Result<()> {
123123
let (sender, receiver) = sync_channel::<Emission>(21);
124124

125125
let signal_sender = sender.clone();
126-
ctrlc::set_handler(move || {
126+
let _ = ctrlc::set_handler(move || {
127127
signal_sender
128128
.send(Emission::SigTerm)
129129
.expect("failed to send sigterm")

0 commit comments

Comments
 (0)