Skip to content

Commit

Permalink
style(http,util): fix sonar check problem
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghang8612 committed Apr 3, 2023
1 parent 6956e37 commit 5643063
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static JSONObject printTransactionToJSON(Transaction transaction, boolean
.parseObject(JsonFormat.printToString(deployContract, selfType));
byte[] ownerAddress = deployContract.getOwnerAddress().toByteArray();
byte[] contractAddress = generateContractAddress(transaction, ownerAddress);
jsonTransaction.put("contract_address", ByteArray.toHexString(contractAddress));
jsonTransaction.put(CONTRACT_ADDRESS, ByteArray.toHexString(contractAddress));
break;
default:
Class clazz = TransactionFactory.getContract(contract.getType());
Expand Down

0 comments on commit 5643063

Please sign in to comment.