mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
fix: emit inflation as coin
This commit is contained in:
parent
70b0f02e6d
commit
dc5614b241
@ -81,7 +81,7 @@ func (k Keeper) mintInflationaryCoins(ctx sdk.Context, inflationRate sdk.Dec, ti
|
||||
ctx.EventManager().EmitEvent(
|
||||
sdk.NewEvent(
|
||||
types.EventTypeKavaDist,
|
||||
sdk.NewAttribute(types.AttributeKeyInflation, amountToMint.String()),
|
||||
sdk.NewAttribute(types.AttributeKeyInflation, sdk.NewCoin(denom, amountToMint).String()),
|
||||
),
|
||||
)
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user