diff --git a/chainstate/broadcast_providers.go b/chainstate/broadcast_providers.go index 9521b882..a52a49ac 100644 --- a/chainstate/broadcast_providers.go +++ b/chainstate/broadcast_providers.go @@ -98,7 +98,7 @@ func broadcastWithBroadcastClient(ctx context.Context, client ClientInterface, t debugLog(client, txID, "executing broadcast request for "+ProviderBroadcastClient) tx := broadcast.Transaction{ - RawTx: hex, + Hex: hex, } result, err := client.BroadcastClient().SubmitTransaction(ctx, &tx) diff --git a/go.mod b/go.mod index 05cf5150..ecc03d7d 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/99designs/gqlgen v0.17.39 github.com/DATA-DOG/go-sqlmock v1.5.0 - github.com/bitcoin-sv/go-broadcast-client v0.7.0 + github.com/bitcoin-sv/go-broadcast-client v0.8.0 github.com/bitcoin-sv/go-paymail v0.5.0 github.com/bitcoinschema/go-bitcoin/v2 v2.0.5 github.com/bitcoinschema/go-map v0.1.0 diff --git a/go.sum b/go.sum index 17a0e515..2befcd7f 100644 --- a/go.sum +++ b/go.sum @@ -57,6 +57,8 @@ github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHG github.com/aws/aws-sdk-go v1.43.45 h1:2708Bj4uV+ym62MOtBnErm/CDX61C4mFe9V2gXy1caE= github.com/bitcoin-sv/go-broadcast-client v0.7.0 h1:Sj2wbbixH1m96qzH0eqFN+jwSbd/LlgLxQgoc/LGPGA= github.com/bitcoin-sv/go-broadcast-client v0.7.0/go.mod h1:EGTrUK2r81moZbgaNalEZJaIBYp7/kOVXy17J9AFQJQ= +github.com/bitcoin-sv/go-broadcast-client v0.8.0 h1:PDmwfpvjN7dp/4g1L3S2fiYsxV50SqD8vEdIH4rDCBE= +github.com/bitcoin-sv/go-broadcast-client v0.8.0/go.mod h1:+nhOZBcR7dRxtC+kLFKmtRiUZXsSbJAUcqzO/bWYbG0= github.com/bitcoin-sv/go-paymail v0.5.0 h1:oIjbZ8lSmau7VDXJevTS9OPOm887/Nn8+1BrjYZLKHY= github.com/bitcoin-sv/go-paymail v0.5.0/go.mod h1:i0mTFBj3hfKEZ1tJUgUfV38b3jJVFgyeIBGR0c9lqOI= github.com/bitcoinschema/go-bitcoin/v2 v2.0.5 h1:Sgh5Eb746Zck/46rFDrZZEXZWyO53fMuWYhNoZa1tck=