Skip to content

Commit

Permalink
Merge pull request #147 from cudoventures/fix-v1.2.3
Browse files Browse the repository at this point in the history
revert error message
  • Loading branch information
jgtormo authored May 14, 2024
2 parents 52628f5 + b2fa4ee commit ed13616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bank/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (k *Keeper) SetDistrKeeper(dk distrkeeper.Keeper) {
// Migrate from https://github.com/CudoVentures/cosmos-sdk/blob/3816012a2d4ea5c9bbb3d8e6174d3b96ff91a039/x/bank/keeper/keeper.go#L439
func (k Keeper) BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error {
if !k.dkSet {
panic("Panic at the Disco oh no distr keeper not set for bank keeper")
panic("distr keeper not set for bank keeper")
}
burnAmts := sdk.Coins{}
for _, amt := range amounts {
Expand Down

0 comments on commit ed13616

Please sign in to comment.