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

View File

@ -51,6 +51,7 @@ IMPROVEMENTS
* [\#3418](https://github.com/cosmos/cosmos-sdk/issues/3418) Add vesting account
genesis validation checks to `GaiaValidateGenesisState`.
* [\#3420](https://github.com/cosmos/cosmos-sdk/issues/3420) Added maximum length to governance proposal descriptions and titles
* [\#3424](https://github.com/cosmos/cosmos-sdk/issues/3424) Allow generation of gentxs with empty memo field.
* SDK
* [\#2986](https://github.com/cosmos/cosmos-sdk/pull/2986) Store Refactor

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())