File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
src/main/java/org/tron/core Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1214,11 +1214,6 @@ public void updateSignedWitness(BlockCapsule block) {
12141214
12151215 this .getWitnessStore ().put (witnessCapsule .getAddress ().toByteArray (), witnessCapsule );
12161216
1217- try {
1218- adjustBalance (accountStore .getSun (), -WITNESS_PAY_PER_BLOCK );
1219- } catch (BalanceInsufficientException e ) {
1220- logger .warn (e .getMessage (), e );
1221- }
12221217 try {
12231218 adjustAllowance (witnessCapsule .getAddress ().toByteArray (), WITNESS_PAY_PER_BLOCK );
12241219 } catch (BalanceInsufficientException e ) {
Original file line number Diff line number Diff line change 2626import org .tron .core .db .Manager ;
2727import org .tron .core .db .VotesStore ;
2828import org .tron .core .db .WitnessStore ;
29- import org .tron .core .exception .BalanceInsufficientException ;
3029import org .tron .core .exception .HeaderNotFound ;
3130
3231@ Slf4j
@@ -416,12 +415,6 @@ private void payStandbyWitness(List<ByteString> list) {
416415 }
417416 }
418417
419- try {
420- manager .adjustBalance (manager .getAccountStore ().getSun (), -totalPay );
421- } catch (BalanceInsufficientException e ) {
422- logger .warn (e .getMessage (), e );
423- }
424-
425418 }
426419
427420}
You can’t perform that action at this time.
0 commit comments