-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing password on LCD fails #2649
Comments
Apparently the key base is locked, I think I've identified the bug though. It's in func createHandler(cdc *codec.Codec) *mux.Router {
r := mux.NewRouter()
kb, err := keys.GetKeyBase() //XXX
if err != nil {
panic(err)
}
cliCtx := context.NewCLIContext().WithCodec(cdc)
// TODO: make more functional? aka r = keys.RegisterRoutes(r)
r.HandleFunc("/version", CLIVersionRequestHandler).Methods("GET")
r.HandleFunc("/node_version", NodeVersionRequestHandler(cliCtx)).Methods("GET")
keys.RegisterRoutes(r, cliCtx.Indent)
rpc.RegisterRoutes(cliCtx, r)
tx.RegisterRoutes(cliCtx, r, cdc)
auth.RegisterRoutes(cliCtx, r, cdc, "acc")
bank.RegisterRoutes(cliCtx, r, cdc, kb)
stake.RegisterRoutes(cliCtx, r, cdc, kb)
slashing.RegisterRoutes(cliCtx, r, cdc, kb)
gov.RegisterRoutes(cliCtx, r, cdc)
return r
} |
I get also this error in the log:
|
Link to upstream issue: syndtr/goleveldb#240 |
alessio
pushed a commit
that referenced
this issue
Nov 5, 2018
Update to goleveldb's most recent revision Should close #2649
Working on latest Voyager |
I believe this is now fixed once and for all: #3514 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of Bug
PUT /keys/default {"name":"default","new_password":"1234567890","old_password":"1234567890"}
results in a panic:
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: