From 0847f7a476df16757c4e35a45b966f89a8b9e2df Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 1 Feb 2022 12:51:19 -0800 Subject: [PATCH] build: update to btcec v2.1.0 This was the version tagged that created the new `ecdsa` and `schnorr` packages. Updating these pinned version lets importers properly use these packages and build. Things build as is since we use replace directive to point to the latest version _in the repo_ when we build. --- btcutil/go.mod | 2 +- btcutil/psbt/go.mod | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/btcutil/go.mod b/btcutil/go.mod index 36d669b06e..d3e460e53d 100644 --- a/btcutil/go.mod +++ b/btcutil/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/aead/siphash v1.0.1 github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c - github.com/btcsuite/btcd/btcec/v2 v2.0.0 + github.com/btcsuite/btcd/btcec/v2 v2.1.0 github.com/davecgh/go-spew v1.1.1 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23 diff --git a/btcutil/psbt/go.mod b/btcutil/psbt/go.mod index fbd9f1b3c2..7b07854505 100644 --- a/btcutil/psbt/go.mod +++ b/btcutil/psbt/go.mod @@ -4,7 +4,7 @@ go 1.17 require ( github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c - github.com/btcsuite/btcd/btcec/v2 v2.0.0 + github.com/btcsuite/btcd/btcec/v2 v2.1.0 github.com/btcsuite/btcd/btcutil v1.0.0 github.com/davecgh/go-spew v1.1.1 ) diff --git a/go.mod b/go.mod index 7ed1214d86..cdd5a0d89f 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/btcsuite/btcd require ( - github.com/btcsuite/btcd/btcec/v2 v2.0.0 + github.com/btcsuite/btcd/btcec/v2 v2.1.0 github.com/btcsuite/btcd/btcutil v1.0.0 github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd