diff --git a/src/brs/Burst.java b/src/brs/Burst.java index 9d51eeda1..347d6335e 100644 --- a/src/brs/Burst.java +++ b/src/brs/Burst.java @@ -47,7 +47,7 @@ public final class Burst { - public static final Version VERSION = Version.parse("v3.7.2-beta1"); + public static final Version VERSION = Version.parse("v3.7.2-beta2"); public static final String APPLICATION = "BRS"; public static final String CONF_FOLDER = "./conf"; diff --git a/src/brs/at/AtTransaction.java b/src/brs/at/AtTransaction.java index e0b4417aa..bbf3f13e8 100644 --- a/src/brs/at/AtTransaction.java +++ b/src/brs/at/AtTransaction.java @@ -111,7 +111,9 @@ else if (getType() == TransactionType.ColoredCoins.ASSET_DISTRIBUTE_TO_HOLDERS) attachment = new Attachment.ColoredCoinsAssetDistributeToHolders(assetId, minHolding, assetIdToDistribute, quantity, block.getHeight()); } - Transaction.Builder builder = new Transaction.Builder((byte) 1, Genesis.getCreatorPublicKey(), + byte[] publicKey = Genesis.getCreatorPublicKey(); + System.arraycopy(getSenderId(), 0, publicKey, 0, 8); + Transaction.Builder builder = new Transaction.Builder((byte) 1, publicKey, amount, 0L, block.getTimestamp(), (short) 1440, attachment); builder.senderId(AtApiHelper.getLong(getSenderId()))