Skip to content

Commit

Permalink
Merge pull request #39 from EspressoSystems/submit-route
Browse files Browse the repository at this point in the history
Use correct submit route
  • Loading branch information
nomaxg authored May 6, 2024
2 parents c395213 + f5f8edf commit d718ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (c *Client) SubmitTransaction(ctx context.Context, tx types.Transaction) er
return err
}

request, err := http.NewRequestWithContext(ctx, "POST", c.baseUrl+"submit", bytes.NewBuffer(marshalled))
request, err := http.NewRequestWithContext(ctx, "POST", c.baseUrl+"submit/submit", bytes.NewBuffer(marshalled))
if err != nil {
return err
}
Expand Down

0 comments on commit d718ea9

Please sign in to comment.