From 04e6c87e5336f34d23d73d72f69935580c1290ab Mon Sep 17 00:00:00 2001 From: patrickhuie19 Date: Mon, 26 Feb 2024 13:51:13 -0500 Subject: [PATCH] cleaning up use of *cli.Context instead of Request.Context() --- core/web/eth_keys_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/web/eth_keys_controller.go b/core/web/eth_keys_controller.go index 4e70829ec51..e53f30a925a 100644 --- a/core/web/eth_keys_controller.go +++ b/core/web/eth_keys_controller.go @@ -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)