Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #400 from BuxOrg/fix/errors-go-broadcast-client
Browse files Browse the repository at this point in the history
fix: error returning while broadcasting with go-broadcast-client
  • Loading branch information
mergify[bot] authored Sep 19, 2023
2 parents 8241acd + e01d7cd commit 5f951c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainstate/broadcast_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func broadcastWithBroadcastClient(ctx context.Context, client ClientInterface, t
result, err := client.BroadcastClient().SubmitTransaction(ctx, &tx)
if err != nil {
debugLog(client, txID, "error broadcast request for "+ProviderBroadcastClient+" failed: "+err.Error())
return nil //nolint:nilerr // err is being reported but not returned
return err
}

debugLog(client, txID, "result broadcast request for "+ProviderBroadcastClient+" blockhash: "+result.BlockHash+" status: "+result.TxStatus.String())
Expand Down

0 comments on commit 5f951c4

Please sign in to comment.