From adcecfa162d0f2ed14af17c192e718961ea67e60 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 24 Dec 2020 08:44:05 -0600 Subject: [PATCH] test: Use the bond denomination from the configuration, not the default (#8225) Co-authored-by: Aleksandr Bezobchuk --- testutil/network/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/network/network.go b/testutil/network/network.go index 23706c12ca..c1b358aae9 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -298,7 +298,7 @@ func New(t *testing.T, cfg Config) *Network { createValMsg, err := stakingtypes.NewMsgCreateValidator( sdk.ValAddress(addr), valPubKeys[i], - sdk.NewCoin(sdk.DefaultBondDenom, cfg.BondedTokens), + sdk.NewCoin(cfg.BondDenom, cfg.BondedTokens), stakingtypes.NewDescription(nodeDirName, "", "", "", ""), stakingtypes.NewCommissionRates(commission, sdk.OneDec(), sdk.OneDec()), sdk.OneInt(),