Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server/auth: ensure consistency of tier and bonds in connect response
With sub-second timing, it was possible for the connect response to indicate a tier that was not reflected by the active bonds list. This resolves the issue by building the bonds slice for the response after double checking bond expiry and computing tier.
- Loading branch information
Showing
1 changed file
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters