'make format'

This commit is contained in:
Christopher Goes 2018-10-09 06:38:58 +02:00
parent 9c53f5aadf
commit 71a80bf176
3 changed files with 4 additions and 3 deletions

View File

@ -241,6 +241,7 @@ func AddNewKeyRequestHandler(indent bool) http.HandlerFunc {
PostProcessResponse(w, cdc, keyOutput, indent)
}
}
// function to just a new seed to display in the UI before actually persisting it in the keybase
func getSeed(algo keys.SigningAlgo) string {
kb := client.MockKeyBase()
@ -341,4 +342,4 @@ func RecoverRequestHandler(indent bool) http.HandlerFunc {
PostProcessResponse(w, cdc, keyOutput, indent)
}
}
}

View File

@ -16,4 +16,4 @@ func errMissingPassword() error {
func errMissingSeed() error {
return fmt.Errorf("you have to specify seed for key recover")
}
}

View File

@ -12,9 +12,9 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"net/http"
"github.com/cosmos/cosmos-sdk/codec"
)
// KeyDBName is the directory under root where we store the keys