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) {
1214
1214
1215
1215
this .getWitnessStore ().put (witnessCapsule .getAddress ().toByteArray (), witnessCapsule );
1216
1216
1217
- try {
1218
- adjustBalance (accountStore .getSun (), -WITNESS_PAY_PER_BLOCK );
1219
- } catch (BalanceInsufficientException e ) {
1220
- logger .warn (e .getMessage (), e );
1221
- }
1222
1217
try {
1223
1218
adjustAllowance (witnessCapsule .getAddress ().toByteArray (), WITNESS_PAY_PER_BLOCK );
1224
1219
} catch (BalanceInsufficientException e ) {
Original file line number Diff line number Diff line change 26
26
import org .tron .core .db .Manager ;
27
27
import org .tron .core .db .VotesStore ;
28
28
import org .tron .core .db .WitnessStore ;
29
- import org .tron .core .exception .BalanceInsufficientException ;
30
29
import org .tron .core .exception .HeaderNotFound ;
31
30
32
31
@ Slf4j
@@ -416,12 +415,6 @@ private void payStandbyWitness(List<ByteString> list) {
416
415
}
417
416
}
418
417
419
- try {
420
- manager .adjustBalance (manager .getAccountStore ().getSun (), -totalPay );
421
- } catch (BalanceInsufficientException e ) {
422
- logger .warn (e .getMessage (), e );
423
- }
424
-
425
418
}
426
419
427
420
}
You can’t perform that action at this time.
0 commit comments