Support min fees in a localnet and fix gaiad config (#3172)

This commit is contained in:
Alexander Bezobchuk
2018-12-20 11:21:39 -08:00
committed by Jack Zampolin
parent abbd2d4dd3
commit 8211c025da
6 changed files with 36 additions and 23 deletions
+1 -2
View File
@@ -213,8 +213,7 @@ func (app *BaseApp) initFromMainStore(mainKey *sdk.KVStoreKey) error {
return nil
}
// SetMinimumFees sets the minimum fees.
func (app *BaseApp) SetMinimumFees(fees sdk.Coins) { app.minimumFees = fees }
func (app *BaseApp) setMinimumFees(fees sdk.Coins) { app.minimumFees = fees }
// NewContext returns a new Context with the correct store, the given header, and nil txBytes.
func (app *BaseApp) NewContext(isCheckTx bool, header abci.Header) sdk.Context {
+1 -1
View File
@@ -37,7 +37,7 @@ func SetMinimumFees(minFees string) func(*BaseApp) {
if err != nil {
panic(fmt.Sprintf("invalid minimum fees: %v", err))
}
return func(bap *BaseApp) { bap.SetMinimumFees(fees) }
return func(bap *BaseApp) { bap.setMinimumFees(fees) }
}
func (app *BaseApp) SetName(name string) {