Skip to content

Commit

Permalink
Cleanup: add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasse committed May 16, 2024
1 parent 7e85d35 commit d9037b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/rfq/api/rest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ func (r *QuoterAPIServer) checkRole(c *gin.Context, destChainID uint32) (address
}

// PutRelayAck checks if a relay is pending or not.
// Note that the ack is not binding; that is, any relayer can still relay the transaction
// on chain if they ignore the response to this call.
// Also, this will not work if the API is run on multiple servers, since there is no inter-server
// communication to maintain the cache.
//
// PUT /ack.
// @dev Protected Method: Authentication is handled through middleware in server.go.
Expand Down

0 comments on commit d9037b4

Please sign in to comment.