Compare commits

...

1 Commits

Author SHA1 Message Date
Jim McDonald
693b2a6961 Allow use of pubkey 2020-05-01 15:35:57 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ var versionCmd = &cobra.Command{
ethdo version.`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("1.4.6")
fmt.Println("1.4.7")
if viper.GetBool("verbose") {
buildInfo, ok := dbg.ReadBuildInfo()
if ok {

View File

@@ -33,7 +33,7 @@ func NewScratchAccount(privKey []byte, pubKey []byte) (*ScratchAccount, error) {
if len(privKey) > 0 {
return newScratchAccountFromPrivKey(privKey)
} else {
return newScratchAccountFromPubKey(privKey)
return newScratchAccountFromPubKey(pubKey)
}
}