Populate Seed (more TBD) and checks

This commit is contained in:
yuhan6665 2024-04-13 14:55:05 -04:00
parent 83c76ec192
commit d09290c5d4
8 changed files with 139 additions and 58 deletions

View file

@ -18,6 +18,7 @@ func (a *Account) AsAccount() (protocol.Account, error) {
ID: protocol.NewID(id),
Flow: a.Flow, // needs parser here?
Encryption: a.Encryption, // needs parser here?
Seed: a.Seed,
}, nil
}
@ -29,6 +30,8 @@ type MemoryAccount struct {
Flow string
// Encryption of the account. Used for client connections, and only accepts "none" for now.
Encryption string
// Seed. Details TBD
Seed string
}
// Equals implements protocol.Account.Equals().