Merge PR #3607: Reconcile DecCoin/s API with Coin/s API

This commit is contained in:
Alexander Bezobchuk
2019-02-15 16:33:23 +01:00
committed by Christopher Goes
parent 1aa6c197ff
commit 26c13b28cd
15 changed files with 456 additions and 291 deletions
+1 -1
View File
@@ -15,6 +15,6 @@ func TestDefaultConfig(t *testing.T) {
func TestSetMinimumFees(t *testing.T) {
cfg := DefaultConfig()
cfg.SetMinGasPrices(sdk.DecCoins{sdk.NewDecCoin("foo", 5)})
cfg.SetMinGasPrices(sdk.DecCoins{sdk.NewInt64DecCoin("foo", 5)})
require.Equal(t, "5.000000000000000000foo", cfg.MinGasPrices)
}