Skip to content

Commit ba4369c

Browse files
authored
Set default service account key type to hex (#17)
1 parent 7bc5140 commit ba4369c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

flow/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ func (c *Config) ServiceAccount() *Account {
185185

186186
func (c *Config) SetServiceAccountKey(privateKey crypto.PrivateKey, hashAlgo crypto.HashAlgorithm) {
187187
c.Accounts[serviceAccountName] = &Account{
188+
KeyType: KeyTypeHex,
188189
Address: flow.ServiceAddress(flow.Emulator),
189190
PrivateKey: privateKey,
190191
SigAlgo: privateKey.Algorithm(),

0 commit comments

Comments
 (0)