diff --git a/go.mod b/go.mod index 6fd1734..b175cc3 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/bsv-blockchain/go-tx-map go 1.24 require ( + github.com/bsv-blockchain/go-bt/v2 v2.3.0 github.com/dolthub/swiss v0.2.1 - github.com/libsv/go-bt/v2 v2.2.5 github.com/stretchr/testify v1.10.0 ) @@ -17,5 +17,3 @@ require ( google.golang.org/protobuf v1.36.6 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -replace github.com/libsv/go-bt/v2 => github.com/ordishs/go-bt/v2 v2.2.22 diff --git a/go.sum b/go.sum index 6234204..ee98de8 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +github.com/bsv-blockchain/go-bt/v2 v2.3.0 h1:ZEFtKV93wq59qna9/DEp4NJmVb5hZgF3h1vGXNLKMeU= +github.com/bsv-blockchain/go-bt/v2 v2.3.0/go.mod h1:NzalErv8cCi3VDZYNLaHxnP2PiiDFIQS6dgQgBGTV4A= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -11,8 +13,6 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/ordishs/go-bt/v2 v2.2.22 h1:5WmTQoX74g9FADM9hpbXZOE34uep4EqeSwpIy4CbWYE= -github.com/ordishs/go-bt/v2 v2.2.22/go.mod h1:bOaZFOoazYognJH/nfcBjuDFud1XmIc05n7bp4Tvvfk= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= diff --git a/tx_map.go b/tx_map.go index 0b1d300..53fafc3 100644 --- a/tx_map.go +++ b/tx_map.go @@ -49,7 +49,7 @@ // // Dependencies: // The package depends on the [`swiss`](https://github.com/dolthub/swiss) library and -// additionally uses the `chainhash` library (`github.com/libsv/go-bt/v2/chainhash`) where applicable. +// additionally uses the `chainhash` library (`github.com/bsv-blockchain/go-bt/v2/chainhash`) where applicable. package txmap import ( @@ -59,8 +59,8 @@ import ( "sync" "sync/atomic" + "github.com/bsv-blockchain/go-bt/v2/chainhash" "github.com/dolthub/swiss" - "github.com/libsv/go-bt/v2/chainhash" ) // TxMap is a map that stores transaction hashes and associated uint64 values. diff --git a/tx_map_benchmarks_test.go b/tx_map_benchmarks_test.go index ff033d9..fe10b95 100644 --- a/tx_map_benchmarks_test.go +++ b/tx_map_benchmarks_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/libsv/go-bt/v2/chainhash" + "github.com/bsv-blockchain/go-bt/v2/chainhash" ) // BenchmarkBytes2Uint16Buckets measures the performance of Bytes2Uint16Buckets. diff --git a/tx_map_fuzz_test.go b/tx_map_fuzz_test.go index 03b938f..fca3240 100644 --- a/tx_map_fuzz_test.go +++ b/tx_map_fuzz_test.go @@ -3,7 +3,7 @@ package txmap import ( "testing" - "github.com/libsv/go-bt/v2/chainhash" + "github.com/bsv-blockchain/go-bt/v2/chainhash" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/tx_map_test.go b/tx_map_test.go index 07938c1..225c304 100644 --- a/tx_map_test.go +++ b/tx_map_test.go @@ -3,7 +3,7 @@ package txmap import ( "testing" - "github.com/libsv/go-bt/v2/chainhash" + "github.com/bsv-blockchain/go-bt/v2/chainhash" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )