Skip to content

Commit 4b3aeb5

Browse files
authored
Merge pull request #5138 from yanghang8612/feature/remove_added_field
func(interface): remove the added field
2 parents 999a763 + 27f2255 commit 4b3aeb5

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

framework/src/main/java/org/tron/core/Wallet.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,8 +3034,6 @@ public Transaction callConstantContract(TransactionCapsule trxCap,
30343034

30353035
TransactionResultCapsule ret = new TransactionResultCapsule();
30363036
builder.setEnergyUsed(result.getEnergyUsed());
3037-
builder.setBlockNumber(headBlockCapsule.getNum());
3038-
builder.setBlockHash(ByteString.copyFrom(headBlockCapsule.getBlockId().getBytes()));
30393037
builder.setEnergyPenalty(result.getEnergyPenaltyTotal());
30403038
builder.addConstantResult(ByteString.copyFrom(result.getHReturn()));
30413039
result.getLogInfoList().forEach(logInfo ->

protocol/src/main/protos/api/api.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,8 +1201,6 @@ message TransactionExtention {
12011201
repeated TransactionInfo.Log logs = 6;
12021202
repeated InternalTransaction internal_transactions = 7;
12031203
int64 energy_penalty = 8;
1204-
int64 block_number = 9;
1205-
bytes block_hash = 10;
12061204
}
12071205

12081206
message EstimateEnergyMessage {

0 commit comments

Comments
 (0)