File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ func NewHandlers(
234234 getAPIRouterNoError (apiRouter )("/aopp/cancel" , handlers .postAOPPCancelHandler ).Methods ("POST" )
235235 getAPIRouterNoError (apiRouter )("/aopp/approve" , handlers .postAOPPApproveHandler ).Methods ("POST" )
236236 getAPIRouter (apiRouter )("/aopp/choose-account" , handlers .postAOPPChooseAccountHandler ).Methods ("POST" )
237- getAPIRouter (apiRouter )("/cancel-connect-keystore" , handlers .postCancelConnectKeystoreHandler ).Methods ("POST" )
237+ getAPIRouterNoError (apiRouter )("/cancel-connect-keystore" , handlers .postCancelConnectKeystoreHandler ).Methods ("POST" )
238238 getAPIRouterNoError (apiRouter )("/set-watchonly" , handlers .postSetWatchonlyHandler ).Methods ("POST" )
239239
240240 devicesRouter := getAPIRouterNoError (apiRouter .PathPrefix ("/devices" ).Subrouter ())
@@ -1286,9 +1286,9 @@ func (handlers *Handlers) postAOPPApproveHandler(r *http.Request) interface{} {
12861286 return nil
12871287}
12881288
1289- func (handlers * Handlers ) postCancelConnectKeystoreHandler (r * http.Request ) ( interface {}, error ) {
1289+ func (handlers * Handlers ) postCancelConnectKeystoreHandler (r * http.Request ) interface {} {
12901290 handlers .backend .CancelConnectKeystore ()
1291- return nil , nil
1291+ return nil
12921292}
12931293
12941294func (handlers * Handlers ) postSetWatchonlyHandler (r * http.Request ) interface {} {
You can’t perform that action at this time.
0 commit comments