File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
actuator/src/main/java/org/tron/core/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public class TransactionUtil {
57
57
private static final int maxAccountIdLen = 32 ;
58
58
private static final int minAccountIdLen = 8 ;
59
59
private static final int maxAssetNameLen = 32 ;
60
- private static final int maxTokenAbbrName = 5 ;
60
+ private static final int maxTokenAbbrNameLen = 5 ;
61
61
62
62
@ Autowired
63
63
private ChainBaseManager chainBaseManager ;
@@ -79,7 +79,7 @@ public static boolean validAssetName(byte[] assetName) {
79
79
}
80
80
81
81
public static boolean validTokenAbbrName (byte [] abbrName ) {
82
- return validReadableBytes (abbrName , maxTokenAbbrName );
82
+ return validReadableBytes (abbrName , maxTokenAbbrNameLen );
83
83
}
84
84
85
85
private static boolean validReadableBytes (byte [] bytes , int maxLength ) {
You can’t perform that action at this time.
0 commit comments