We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17559d1 + f0bef21 commit 11f17caCopy full SHA for 11f17ca
src/main/java/org/tron/core/actuator/AssetIssueActuator.java
@@ -163,6 +163,9 @@ public boolean validate() throws ContractValidateException {
163
164
while (iterator.hasNext()) {
165
FrozenSupply next = iterator.next();
166
+ if (next.getFrozenAmount() <= 0) {
167
+ throw new ContractValidateException("Frozen supply must be greater than 0!");
168
+ }
169
if (next.getFrozenAmount() > remainSupply) {
170
throw new ContractValidateException("Frozen supply cannot exceed total supply");
171
}
0 commit comments