diff --git a/packages/cosmic-swingset/src/launch-chain.js b/packages/cosmic-swingset/src/launch-chain.js index 564be3b9b7d..73f090bf64f 100644 --- a/packages/cosmic-swingset/src/launch-chain.js +++ b/packages/cosmic-swingset/src/launch-chain.js @@ -664,8 +664,6 @@ export async function launch({ // blockManagerConsole.error('Performing action', action); let p; - countInboundAction(action.type); - switch (action.type) { case ActionType.DELIVER_INBOUND: { p = deliverInbound( @@ -743,6 +741,7 @@ export async function launch({ for await (const { action, context } of inboundQueue.consumeAll()) { const inboundNum = `${context.blockHeight}-${context.txHash}-${context.msgIdx}`; inboundQueueMetrics.decStat(); + countInboundAction(action.type); await performAction(action, inboundNum); keepGoing = await runSwingset(phase); if (!keepGoing) {