OSDN Git Service

add API check-key-password (#1233)
[bytom/bytom.git] / api / api.go
index 0024e00..41eaf8d 100644 (file)
@@ -217,6 +217,7 @@ func (a *API) buildHandler() {
                m.Handle("/list-keys", jsonHandler(a.pseudohsmListKeys))
                m.Handle("/delete-key", jsonHandler(a.pseudohsmDeleteKey))
                m.Handle("/reset-key-password", jsonHandler(a.pseudohsmResetPassword))
+               m.Handle("/check-key-password", jsonHandler(a.pseudohsmCheckPassword))
                m.Handle("/sign-message", jsonHandler(a.signMessage))
 
                m.Handle("/build-transaction", jsonHandler(a.build))