Skip to content

Commit

Permalink
use correct submit route
Browse files Browse the repository at this point in the history
  • Loading branch information
nomaxg committed May 6, 2024
1 parent c395213 commit f5f8edf
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 f5f8edf

Please sign in to comment.