-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Current Behavior
When i have a flow.json with a file based key this code panics
//accounts here is accounts.Accounts that is gotten from flowkit.State
for _, account := range acct {
account.Key.ToConfig().PrivateKey.PublicKey(),
}
see source here https://github.com/bjartek/overflow/blob/a97abbd88656a7910be110e3a8226a80afcdf582/state.go#L446
Expected Behavior
I expect to get the public key, the key need here though is to just create a new user using the key that is provided in flow.json. Maybe a method to return a accounts.PublicKey from an account.Accounts would be better?
Steps To Reproduce
- create a flow.json with a file based key
- use https://github.com/bjartek/aether
Environment
- OS: macWhat are you currently working on that this is blocking?
Aether
Metadata
Metadata
Assignees
Labels
No labels