Closed cristaloleg closed 6 months ago
Pretty sure we don't use this anywhere but ccing @msmania for visibility.
Good catch!
This function is needed for Session
to implement CacheStorage
, but luckily it's never called because we don't seal a cached session, which is the only place we use CacheStorage.HashString
. The correct return value should be s.SessionHeader.HashString()
. Let's fix it in the next version.
Closing this as this was fixed.
Describe the bug I was occasionally reading your repository and had found infinite recursion.
To Reproduce
See
x/pocketcore/types/session.go
Expected behavior No infinite recursion
Screenshots Not applicable.
Operating System or Platform: Any
Additional context None.