lightninglabs / lightning-terminal

Lightning Terminal: Your Home for Lightning Liquidity
MIT License
488 stars 82 forks source link

firewalldb: fetch correct bucket for session level temp KV store #763

Closed ellemouton closed 3 weeks ago

ellemouton commented 1 month ago

In this commit, we fix a bug which would result in the "perm" store being used for the LocalTemp KV DB if and only if the KV store being requested was a session level one (as opposed to a session feature level one). It is ok for us to just change this here since as of this commit, the session level KV store is not used at all and so nothing will be in that store yet.