Skip to content

Commit

Permalink
Add type guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 9, 2024
1 parent 4759831 commit 753178b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accounts/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ var _ Key = &KMSKey{}

var _ Key = &BIP44Key{}

var _ Key = &EnvKey{}

func keyFromConfig(accountKeyConf config.AccountKey) (Key, error) {
switch accountKeyConf.Type {
case config.KeyTypeHex:
Expand Down

0 comments on commit 753178b

Please sign in to comment.