From 1023e34a3c3baa20549bd67ddbbcd2513a3b0b15 Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 30 Sep 2024 15:40:53 +0200 Subject: [PATCH] fix missing community pool balance in total supply --- genesis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/genesis.go b/genesis.go index 3a9fd4b..bb2c756 100644 --- a/genesis.go +++ b/genesis.go @@ -116,6 +116,7 @@ func writeGenesis(genesisFile string, airdrop airdrop) error { Address: distrModuleAddr, Coins: communityPoolCoins, }) + bankGen.Supply = bankGen.Supply.Add(communityPoolCoins...) // setup bank params and denoms bankGen.Params = banktypes.Params{