Skip to content

Commit fe79988

Browse files
committed
return visible if create shielded transaction
1 parent e1ae88c commit fe79988

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/org/tron/core/services/http/CreateShieldedTransactionServlet.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
3737
Transaction tx = wallet
3838
.createShieldedTransaction(build.build())
3939
.getInstance();
40-
response.getWriter().println(Util.printTransaction(tx, visible));
40+
response.getWriter().println(Util.printCreateTransaction(tx, visible));
4141
} catch (Exception e) {
4242
logger.debug("Exception: {}", e.getMessage());
4343
try {

‎src/main/java/org/tron/core/services/http/CreateShieldedTransactionWithoutSpendAuthSigServlet.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
4040
.createShieldedTransactionWithoutSpendAuthSig(build.build())
4141
.getInstance();
4242

43-
String txString = Util.printTransaction(tx, visible);
43+
String txString = Util.printCreateTransaction(tx, visible);
4444
JSONObject jsonObject = JSON.parseObject(txString);
4545
if (jsonObject.containsKey("txID")) {
4646
jsonObject.remove("txID");

0 commit comments

Comments
 (0)