From d33505c034515eff3bc19386ef5715845aad9989 Mon Sep 17 00:00:00 2001 From: Will Liu Date: Thu, 22 Aug 2024 14:55:49 -0400 Subject: [PATCH] fix var name --- protocol/x/clob/keeper/process_operations.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/protocol/x/clob/keeper/process_operations.go b/protocol/x/clob/keeper/process_operations.go index 090756a2c0..486dd6ab0e 100644 --- a/protocol/x/clob/keeper/process_operations.go +++ b/protocol/x/clob/keeper/process_operations.go @@ -99,11 +99,10 @@ func (k Keeper) ProcessProposerOperations( operations, ) - // send local subaccount snapshots - subaccountIdsToUpdate := fetchSubaccountIdsInvolvedInOpQueue( + subaccountIdsFromLocal := fetchSubaccountIdsInvolvedInOpQueue( localValidatorOperationsQueue, ) - subaccountIdsToUpdate = lib.MergeMaps(subaccountIdsToUpdate, subaccountIdsFromProposed) + subaccountIdsToUpdate := lib.MergeMaps(subaccountIdsFromLocal, subaccountIdsFromProposed) allSubaccountUpdates := make([]satypes.StreamSubaccountUpdate, 0) for subaccountId := range subaccountIdsToUpdate { subaccountUpdate := k.subaccountsKeeper.GetStreamSubaccountUpdate(ctx, subaccountId, false)