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 9fbc009 commit e9a34f4Copy full SHA for e9a34f4
chainbase/src/main/java/org/tron/core/store/TransactionRetStore.java
@@ -57,7 +57,7 @@ public TransactionInfoCapsule getTransactionInfo(byte[] key) throws BadItemExcep
57
if (transactionResultInfo.getId().equals(id)) {
58
Protocol.ResourceReceipt receipt = transactionResultInfo.getReceipt();
59
// If query a result with dirty origin usage in receipt, we just reset it.
60
- if (receipt.getEnergyPenaltyTotal() == 0 && receipt.getOriginEnergyUsage() > 0) {
+ if (receipt.getEnergyUsageTotal() == 0 && receipt.getOriginEnergyUsage() > 0) {
61
transactionResultInfo =
62
transactionResultInfo.toBuilder()
63
.setReceipt(
0 commit comments