Skip to content

Commit

Permalink
Improving errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanz0rz committed Jan 22, 2025
1 parent 04e5522 commit 406a202
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk-clients/orderbook/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ func (api *api) GetOrderWithSignature(ctx context.Context, params GetOrderParams
allOrdersByCreator, err := api.GetOrdersByCreatorAddress(ctx, GetOrdersByCreatorAddressParams{
CreatorAddress: order.OrderMaker,
})
if err != nil {
return nil, err
}

// Filter through the second set of orders to find the signature
for _, o := range allOrdersByCreator {
Expand Down

0 comments on commit 406a202

Please sign in to comment.