Skip to content

Commit 45d7e75

Browse files
authored
Merge pull request tronprotocol#2543 from tronprotocol/bugfix_spelling
fix words error
2 parents 573cbb2 + 8095836 commit 45d7e75

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

  • framework/src

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ public static String printTransactionExtention(TransactionExtention transactionE
127127
String string = JsonFormat.printToString(transactionExtention, selfType);
128128
JSONObject jsonObject = JSONObject.parseObject(string);
129129
if (transactionExtention.getResult().getResult()) {
130-
JSONObject transactionOjbect = printTransactionToJSON(
130+
JSONObject transactionObject = printTransactionToJSON(
131131
transactionExtention.getTransaction(), selfType);
132-
transactionOjbect.put(VISIBLE, selfType);
133-
jsonObject.put(TRANSACTION, transactionOjbect);
132+
transactionObject.put(VISIBLE, selfType);
133+
jsonObject.put(TRANSACTION, transactionObject);
134134
}
135135
return jsonObject.toJSONString();
136136
}

‎framework/src/test/java/stest/tron/wallet/common/client/utils/ZenUtils.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ public static void checkFolderExist(final String filePath) {
8686
}
8787
}
8888

89-
public static String getMemo(byte[] meno) {
90-
int index = meno.length;
89+
public static String getMemo(byte[] memo) {
90+
int index = memo.length;
9191
for (; index > 0; --index) {
92-
if (meno[index - 1] != 0) {
92+
if (memo[index - 1] != 0) {
9393
break;
9494
}
9595
}
9696

9797
byte[] inputCheck = new byte[index];
98-
System.arraycopy(meno, 0, inputCheck, 0, index);
98+
System.arraycopy(memo, 0, inputCheck, 0, index);
9999
return new String(inputCheck, Charset.forName("UTF-8"));
100100
}
101101

0 commit comments

Comments
 (0)