givelotus / lotus-vase

A simple reference wallet for Lotus which supports mobile devices.
GNU General Public License v3.0
4 stars 2 forks source link

Generate keys on start rather than save them #112

Closed schancel closed 3 years ago

schancel commented 3 years ago

It really does not take very long to generate child keys, assuming that we have the xpriv key. This commit does not save/restore the keys and instead generates them on load from the xpriv which is saved. This allows us to avoid dealing with some state, which is generally always a good thing.