Skip to content

Commit

Permalink
Use the AT ID as public key, as in other places.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjos2372 committed Sep 20, 2023
1 parent 80cdb66 commit 5fe3ea3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/brs/Burst.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 3 additions & 1 deletion src/brs/at/AtTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 5fe3ea3

Please sign in to comment.