Skip to content

Commit

Permalink
CKB - bugfixs
Browse files Browse the repository at this point in the history
  • Loading branch information
pengpengliu committed Jan 15, 2020
1 parent f958d3d commit a4118a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public String signRawTransaction(String rawTx, List<String> keys) {
org.nervos.ckb.type.transaction.Transaction t = signBuilder.buildTx();
JSONObject packedTx = new JSONObject();
packedTx.put("txid", t.computeHash());
packedTx.put("raw", gson.toJson(Convert.parseTransaction(t)));
packedTx.put("raw", new JSONObject(gson.toJson(Convert.parseTransaction(t))));
return packedTx.toString();
} catch (Exception e) {
System.out.println(e);
Expand Down

0 comments on commit a4118a4

Please sign in to comment.