Skip to content

Commit

Permalink
fix: legacy getpairs request (#389)
Browse files Browse the repository at this point in the history
recent refactor added the v2 path
  • Loading branch information
jackstar12 authored Feb 11, 2025
1 parent 885cffb commit b2226a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/boltz/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func (boltz *Api) GetVersion() (*GetVersionResponse, error) {
// Deprecated: use GetSubmarinePairs, GetChainPairs or GetReversePairs instead
func (boltz *Api) GetPairs() (*GetPairsResponse, error) {
var response GetPairsResponse
err := boltz.sendGetRequestV2("/getpairs", &response)
err := boltz.sendGetRequest("/getpairs", &response)

return &response, err
}
Expand Down

0 comments on commit b2226a1

Please sign in to comment.