Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kad: Refactor
GetRecord
query and add tests (#97)
This PR refactors the `GetRecord` query to make it more robust. - Avoid panics on unwraps and unimplemented logic - Separate config immutable variables from main query logic - Simplifies logic of `next_action` method - Private methods for internal logic Builds on top of: #96 cc @paritytech/networking --------- Signed-off-by: Alexandru Vasile <[email protected]>
- Loading branch information