Skip to content

Commit

Permalink
change 2048 to 2 * KBYTE
Browse files Browse the repository at this point in the history
  • Loading branch information
Haynar216 committed Nov 12, 2019
1 parent 6fb9e79 commit 20d15b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static Transaction makeCreateContractTx(Account sender, String contract,
long fee, short feeScale, BigInteger timestamp)
{
byte[] attachmentBytes = (description == null ? "" : description).getBytes();
ByteBuffer buf = ByteBuffer.allocate(2048);
ByteBuffer buf = ByteBuffer.allocate(2 * KBYTE);
buf.put(CREATE_CONTRACT);


Expand Down

0 comments on commit 20d15b1

Please sign in to comment.