From 75ccf49209dfba457649f308fb8fdeef5bbbaecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Mon, 9 Oct 2023 18:25:51 +0800 Subject: [PATCH] fix: rm extra forward slash in `download_endpoint` --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index ba101f8..bc3992a 100644 --- a/build.rs +++ b/build.rs @@ -94,7 +94,7 @@ mod download { let (file_or_url, tarball_bytes) = match std::env::var("BITCOIND_TARBALL_FILE") { Err(_) => { let download_endpoint = std::env::var("BITCOIND_DOWNLOAD_ENDPOINT") - .unwrap_or("https://bitcoincore.org/bin/".to_owned()); + .unwrap_or("https://bitcoincore.org/bin".to_owned()); let url = format!( "{}/bitcoin-core-{}/{}",