Skip to content

Commit b998e7b

Browse files
committed
fix(exception): wrap parameter check exceptions with TronError
1 parent 7dd37ec commit b998e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/tron/core/exception/TronError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public enum ErrCode {
4848
WITNESS_INIT(1),
4949
RATE_LIMITER_INIT(1),
5050
SOLID_NODE_INIT(0),
51-
PARAMETER_INIT(2);
51+
PARAMETER_INIT(1);
5252

5353
private final int code;
5454

0 commit comments

Comments
 (0)