From bd9ac8eb71dcdb70a2a7d17b968c7672f3d5f138 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 15 Apr 2020 16:24:55 +1000 Subject: [PATCH] Fix clippy nightly + increase to latest rustfmt --- Makefile | 2 +- tests/rfc003_bitcoin_htlc.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f14cad4..159e4c3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ RUST_TOOLCHAIN ?= 1.40.0 TOOLCHAIN = $(RUST_TOOLCHAIN) CARGO = $(RUSTUP) run --install $(TOOLCHAIN) cargo --color always -NIGHTLY_TOOLCHAIN = nightly-2019-12-30 +NIGHTLY_TOOLCHAIN = nightly-2020-04-10 CARGO_NIGHTLY = $(RUSTUP) run --install $(NIGHTLY_TOOLCHAIN) cargo --color always GIT_HOOKS_PATH = ".githooks" diff --git a/tests/rfc003_bitcoin_htlc.rs b/tests/rfc003_bitcoin_htlc.rs index d0c5ef9..9783929 100644 --- a/tests/rfc003_bitcoin_htlc.rs +++ b/tests/rfc003_bitcoin_htlc.rs @@ -153,7 +153,7 @@ fn redeem_htlc_with_secret() { inputs: vec![PrimedInput::new( vout, input_amount, - htlc.unlock_with_secret(&crate::ethereum_helper::SECP, secret_key, SECRET.clone()), + htlc.unlock_with_secret(&crate::ethereum_helper::SECP, secret_key, *SECRET), )], output_address: alice_addr.clone(), }