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.
1 parent 12a420d commit 660d44aCopy full SHA for 660d44a
src/main/java/org/tron/core/witness/WitnessController.java
@@ -376,6 +376,9 @@ private void payStandbyWitness(List<ByteString> list) {
376
for (ByteString b : list) {
377
voteSum += getWitnesseByAddress(b).getVoteCount();
378
}
379
+ if (voteSum == 0) {
380
+ return;
381
+ }
382
383
long pay = getWitnesseByAddress(b).getVoteCount() * totalPay / voteSum;
384
AccountCapsule accountCapsule = manager.getAccountStore().get(b.toByteArray());
0 commit comments