Skip to content

Commit

Permalink
Revert dac go upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
idmitriev committed Sep 14, 2023
1 parent 85fd427 commit 54a009f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dac/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/cerebellum-network/cere-ddc-sdk-go/dac

go 1.21
go 1.18
3 changes: 2 additions & 1 deletion dac/pkg/collection_point.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func (d dacCollectionPoint) SaveFulfillment(fulfillment Fulfillment) error {
ctx, cancel := context.WithTimeout(context.Background(), dacTimeout)
defer cancel()

req, err := http.NewRequestWithContext(ctx, "POST", d.url.JoinPath(fulfillmentPath).String(), bytes.NewBuffer(json))
req, err := http.NewRequestWithContext(
ctx, "POST", d.url.JoinPath(fulfillmentPath).String(), bytes.NewBuffer(json))
if err != nil {
return fmt.Errorf("failed to create request: %w", err)
}
Expand Down

0 comments on commit 54a009f

Please sign in to comment.