Revert "Safety check - also to be removed shortly."

This reverts commit 8b3f9db497189faaf933d49d18a972549ba32547.
This commit is contained in:
CalDescent 2022-06-14 22:42:38 +01:00
parent 1b2f66b201
commit b02ac2561f

View File

@ -393,10 +393,6 @@ public class Block {
byte[] encodedOnlineAccounts = BlockTransformer.encodeOnlineAccounts(onlineAccountsSet); byte[] encodedOnlineAccounts = BlockTransformer.encodeOnlineAccounts(onlineAccountsSet);
int onlineAccountsCount = onlineAccountsSet.size(); int onlineAccountsCount = onlineAccountsSet.size();
if (encodedOnlineAccounts.length > 1024)
// Safety check - to be removed along with above temporary limitation
return null;
// Concatenate online account timestamp signatures (in correct order) // Concatenate online account timestamp signatures (in correct order)
byte[] onlineAccountsSignatures = new byte[onlineAccountsCount * Transformer.SIGNATURE_LENGTH]; byte[] onlineAccountsSignatures = new byte[onlineAccountsCount * Transformer.SIGNATURE_LENGTH];
for (int i = 0; i < onlineAccountsCount; ++i) { for (int i = 0; i < onlineAccountsCount; ++i) {