diff --git a/scripts/chain-initiator/filter-accounts.go b/scripts/chain-initiator/filter-accounts.go index 7c6bd83615..5929930e93 100644 --- a/scripts/chain-initiator/filter-accounts.go +++ b/scripts/chain-initiator/filter-accounts.go @@ -6,7 +6,7 @@ func filterAccounts(accounts []Account, filterAddresses []string) []Account { filterMap[addr] = struct{}{} } - var newAccounts []Account + newAccounts := []Account{} for _, account := range accounts { if shouldFilterAccount(account, filterMap) { continue diff --git a/scripts/chain-initiator/filter-balances.go b/scripts/chain-initiator/filter-balances.go index 9f6f217e2d..8d58246a12 100644 --- a/scripts/chain-initiator/filter-balances.go +++ b/scripts/chain-initiator/filter-balances.go @@ -11,7 +11,7 @@ func filterBalances(balances []banktypes.Balance, filterAddresses []string) ([]b filterMap[addr] = struct{}{} } - var newBalances []banktypes.Balance + newBalances := []banktypes.Balance{} var coinsToRemove sdk.Coins for _, balance := range balances { if _, exists := filterMap[balance.Address]; exists { diff --git a/scripts/chain-initiator/types.go b/scripts/chain-initiator/types.go index 02d2afe7a1..9fcd9f4166 100644 --- a/scripts/chain-initiator/types.go +++ b/scripts/chain-initiator/types.go @@ -300,6 +300,7 @@ type CLP struct { Params CLPParams `json:"params"` PoolList []interface{} `json:"pool_list"` LiquidityProviders []interface{} `json:"liquidity_providers"` + RewardsBucketList []interface{} `json:"rewards_bucket_list,omitempty"` // omitted for now } type Margin struct {