From 83cabccdb59095c8b4a9fe649ecb296647699131 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 15 Jun 2020 16:56:36 +0200 Subject: [PATCH] bump libsecp256k1 version --- contrib/make_libsecp256k1.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/make_libsecp256k1.sh b/contrib/make_libsecp256k1.sh index 6981ffbf5..7dc627c84 100755 --- a/contrib/make_libsecp256k1.sh +++ b/contrib/make_libsecp256k1.sh @@ -10,7 +10,7 @@ # Or for a Windows x86_64 (64-bit) target, run: # $ GCC_TRIPLET_HOST="x86_64-w64-mingw32" ./contrib/make_libsecp256k1.sh -LIBSECP_VERSION="b408c6a8b287003d1ade5709e6f7bc3c7f1d5be7" +LIBSECP_VERSION="dbd41db16a0e91b2566820898a3ab2d7dad4fe00" set -e @@ -29,6 +29,10 @@ info "Building $pkgname..." git clone https://github.com/bitcoin-core/secp256k1.git fi cd secp256k1 + if ! $(git cat-file -e ${LIBSECP_VERSION}) ; then + info "Could not find requested version $LIBSECP_VERSION in local clone; fetching..." + git fetch --all + fi git reset --hard git clean -f -x -q git checkout $LIBSECP_VERSION