ccf862f76b
* clean up wallet restore and underlying functions * rustfmt * refactor restore
* clean up wallet restore and underlying functions * rustfmt * refactor restore