github.com/aquanetwork/aquachain@v1.7.8/crypto/secp256k1/update-libsecp256k1.sh (about) 1 #!/bin/bash 2 set -e 3 test -d libsecp256k1 || (echo "please run this script inside the /crypto/secp256k1 directory." && exit 111) 4 set -x 5 rm -rv libsecp256k1 6 git clone https://github.com/bitcoin-core/secp256k1 libsecp256k1 7 rm -rfv libsecp256k1/.git 8 set +x 9 echo libsecp256k1 upgraded