Skip to content

Commit 5643063

Browse files
committed
style(http,util): fix sonar check problem
1 parent 6956e37 commit 5643063

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • framework/src/main/java/org/tron/core/services/http

framework/src/main/java/org/tron/core/services/http/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public static JSONObject printTransactionToJSON(Transaction transaction, boolean
227227
.parseObject(JsonFormat.printToString(deployContract, selfType));
228228
byte[] ownerAddress = deployContract.getOwnerAddress().toByteArray();
229229
byte[] contractAddress = generateContractAddress(transaction, ownerAddress);
230-
jsonTransaction.put("contract_address", ByteArray.toHexString(contractAddress));
230+
jsonTransaction.put(CONTRACT_ADDRESS, ByteArray.toHexString(contractAddress));
231231
break;
232232
default:
233233
Class clazz = TransactionFactory.getContract(contract.getType());

0 commit comments

Comments
 (0)