Closed djc closed 1 year ago
Only yield AccountCredentials (which gives access to the private key) at Account creation time. Store the directory in the AccountCredentials and prefer using it to acquire new DirectoryUrls if available at deserialization time.
AccountCredentials
Account
directory
DirectoryUrls
Thanks for reviewing, good comments! I think overall this hits a good balance, so going to merge this for now.
Only yield
AccountCredentials
(which gives access to the private key) atAccount
creation time. Store thedirectory
in theAccountCredentials
and prefer using it to acquire newDirectoryUrls
if available at deserialization time.