Page MenuHomePhabricator

walletdb: don't read db every time that a new WalletBatch is created, fix last client version update
ClosedPublic

Authored by PiRK on Sat, Apr 19, 06:39.

Details

Summary

Better to perform the action only one time (during 'LoadWallet').
Where the value is being used.

The last client value was only being updated launching releases with higher version numbers
and not if the user launched a previous release.

Co-authored-by: MacroFake <falke.marco@gmail.com>

This is a backport of core#25383

Test Plan

ninja all check-all