'make format'
This commit is contained in:
parent
9c53f5aadf
commit
71a80bf176
|
@ -241,6 +241,7 @@ func AddNewKeyRequestHandler(indent bool) http.HandlerFunc {
|
||||||
PostProcessResponse(w, cdc, keyOutput, indent)
|
PostProcessResponse(w, cdc, keyOutput, indent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// function to just a new seed to display in the UI before actually persisting it in the keybase
|
// function to just a new seed to display in the UI before actually persisting it in the keybase
|
||||||
func getSeed(algo keys.SigningAlgo) string {
|
func getSeed(algo keys.SigningAlgo) string {
|
||||||
kb := client.MockKeyBase()
|
kb := client.MockKeyBase()
|
||||||
|
@ -341,4 +342,4 @@ func RecoverRequestHandler(indent bool) http.HandlerFunc {
|
||||||
|
|
||||||
PostProcessResponse(w, cdc, keyOutput, indent)
|
PostProcessResponse(w, cdc, keyOutput, indent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,4 @@ func errMissingPassword() error {
|
||||||
|
|
||||||
func errMissingSeed() error {
|
func errMissingSeed() error {
|
||||||
return fmt.Errorf("you have to specify seed for key recover")
|
return fmt.Errorf("you have to specify seed for key recover")
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,9 +12,9 @@ import (
|
||||||
|
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
"github.com/cosmos/cosmos-sdk/client"
|
||||||
|
|
||||||
|
"github.com/cosmos/cosmos-sdk/codec"
|
||||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||||
"net/http"
|
"net/http"
|
||||||
"github.com/cosmos/cosmos-sdk/codec"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// KeyDBName is the directory under root where we store the keys
|
// KeyDBName is the directory under root where we store the keys
|
||||||
|
|
Loading…
Reference in New Issue