Support min fees in a localnet and fix gaiad config (#3172)
This commit is contained in:
committed by
Jack Zampolin
parent
abbd2d4dd3
commit
8211c025da
+1
-2
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user