allow generation of gentxs with empty memo field (#3478)

This commit is contained in:
Alessio Treglia
2019-02-01 17:03:57 -08:00
committed by Jack Zampolin
parent 08e62fb157
commit 884ce49f7f
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -61,9 +61,11 @@ following delegation and commission default parameters:
if err != nil {
return err
}
ip, err := server.ExternalIP()
if err != nil {
return err
fmt.Fprintf(os.Stderr, "couldn't retrieve an external IP, "+
"consequently the tx's memo field will be unset: %s", err)
}
genDoc, err := LoadGenesisDoc(cdc, config.GenesisFile())