Skip to content

Commit

Permalink
cleaning up use of *cli.Context instead of Request.Context()
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhuie19 committed Feb 26, 2024
1 parent 7703bd7 commit 04e6c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/web/eth_keys_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (ekc *ETHKeysController) Index(c *gin.Context) {
ethKeyStore := ekc.app.GetKeyStore().Eth()
var keys []ethkey.KeyV2
var err error
keys, err = ethKeyStore.GetAll(c)
keys, err = ethKeyStore.GetAll(c.Request.Context())
if err != nil {
err = errors.Errorf("error getting unlocked keys: %v", err)
jsonAPIError(c, http.StatusInternalServerError, err)
Expand Down

0 comments on commit 04e6c87

Please sign in to comment.