Skip to content

Commit

Permalink
Merge pull request #351 from WalletConnect/fix-session-update
Browse files Browse the repository at this point in the history
update session namespace on response only
  • Loading branch information
llbartekll authored Jul 19, 2022
2 parents 01f3c4b + 6733e83 commit 7dc7775
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ final class ControllerSessionStateMachine {
try validateControlledAcknowledged(session)
try Namespace.validate(namespaces)
logger.debug("Controller will update methods")
try session.updateNamespaces(namespaces)
sessionStore.setSession(session)
try await networkingInteractor.request(.wcSessionUpdate(SessionType.UpdateParams(namespaces: namespaces)), onTopic: topic)
}
Expand Down

0 comments on commit 7dc7775

Please sign in to comment.