Skip to content

Commit

Permalink
Update Sources/WalletConnectSign/Engine/Common/SessionEngine.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Pooley <[email protected]>
  • Loading branch information
llbartekll and jackpooleywc authored May 15, 2024
1 parent e4812ac commit a07eb76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ final class SessionEngine {
}

private func removeInvalidSessionRequests() {
let sessionTopics = Set(sessionStore.getAll().map {$0.topic})
let sessionTopics = Set(sessionStore.getAll().map(\.topic))
invalidRequestsSanitiser.removeInvalidSessionRequests(validSessionTopics: sessionTopics)
}

Expand Down

0 comments on commit a07eb76

Please sign in to comment.