Skip to content

Commit

Permalink
return ChainProvider.UseKey's error
Browse files Browse the repository at this point in the history
  • Loading branch information
faddat committed Sep 10, 2023
1 parent a50ddc8 commit 91eefe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/appstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ func (a *appState) useKey(chainName, key string) error {
return fmt.Errorf("key %s does not exist for chain %s", key, cc.ChainName())
}
return a.performConfigLockingOperation(context.Background(), func() error {
a.config.Chains[chainName].ChainProvider.UseKey(key)
return nil
return a.config.Chains[chainName].ChainProvider.UseKey(key)
})
}

0 comments on commit 91eefe8

Please sign in to comment.