From 1cde9d378745f97404cabc00a16ecfded9f3f9dc Mon Sep 17 00:00:00 2001 From: "minghua.xie" Date: Wed, 4 Dec 2024 15:26:41 +0800 Subject: [PATCH] v0 --- .../main/java/org/apache/seata/core/rpc/MsgVersionHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/seata/core/rpc/MsgVersionHelper.java b/core/src/main/java/org/apache/seata/core/rpc/MsgVersionHelper.java index ca88f2e9504..571997cd4a9 100644 --- a/core/src/main/java/org/apache/seata/core/rpc/MsgVersionHelper.java +++ b/core/src/main/java/org/apache/seata/core/rpc/MsgVersionHelper.java @@ -42,8 +42,8 @@ public static boolean versionNotSupport(Channel channel, RpcMessage rpcMessage) if (StringUtils.isBlank(version) || msg == null) { return false; } - boolean aboveV0 = Version.isV0(version); - if (!aboveV0 || !(msg instanceof MessageTypeAware)) { + boolean isV0 = Version.isV0(version); + if (!isV0 || !(msg instanceof MessageTypeAware)) { return false; } short typeCode = ((MessageTypeAware) msg).getTypeCode();