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(), }