Skip to content

Commit

Permalink
use the right processor based on message type (hyperledger#3900)
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
  • Loading branch information
atoulme authored May 25, 2022
1 parent 884ec09 commit 51ba246
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ public Bytes execute() {
final MessageFrame messageFrame = messageFrameStack.peek();
switch (messageFrame.getType()) {
case CONTRACT_CREATION:
mcp.process(messageFrame, tracer);
ccp.process(messageFrame, tracer);
break;
case MESSAGE_CALL:
ccp.process(messageFrame, tracer);
mcp.process(messageFrame, tracer);
break;
}
}
Expand Down

0 comments on commit 51ba246

Please sign in to comment.