Skip to content

Commit 3678bd9

Browse files
authored
Merge pull request #442 from tronprotocol/feature/add_some_fields
Feature: add some fields
2 parents f02c440 + 8a93042 commit 3678bd9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/org/tron/walletserver/WalletApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,6 +2186,7 @@ public boolean triggerContract(
21862186
System.out.println(
21872187
":" + ByteArray.toStr(transactionExtention.getResult().getMessage().toByteArray()));
21882188
System.out.println("Result:" + Hex.toHexString(result));
2189+
System.out.println("EnergyUsed:" + transactionExtention.getEnergyUsed());
21892190
return true;
21902191
}
21912192

src/main/protos/core/Tron.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ message InternalTransaction {
540540
repeated CallValueInfo callValueInfo = 4;
541541
bytes note = 5;
542542
bool rejected = 6;
543+
string extra = 7;
543544
}
544545

545546
message DelegatedResourceAccountIndex {

0 commit comments

Comments
 (0)