From a1f2b3456fb0fc44ab0bb640694ca4dbd26f9574 Mon Sep 17 00:00:00 2001 From: Ira Miller Date: Tue, 24 Sep 2024 17:25:31 -0600 Subject: [PATCH] fix nav event volume --- x/metadata/keeper/scope.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/metadata/keeper/scope.go b/x/metadata/keeper/scope.go index b7220adc3..9fd8ce571 100644 --- a/x/metadata/keeper/scope.go +++ b/x/metadata/keeper/scope.go @@ -762,7 +762,7 @@ func (k Keeper) SetNetAssetValueWithBlockHeight(ctx sdk.Context, scopeID types.M return err } - setNetAssetValueEvent := types.NewEventSetNetAssetValue(scopeID, netAssetValue.Price, 1, source) + setNetAssetValueEvent := types.NewEventSetNetAssetValue(scopeID, netAssetValue.Price, netAssetValue.Volume, source) if err := ctx.EventManager().EmitTypedEvent(setNetAssetValueEvent); err != nil { return err }