Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Remove check for too long data, the error message should come from core
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schwarz committed Aug 2, 2017
1 parent 44e38d1 commit 981a47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transactions/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function createTransaction(recipientId, amount, secret, secondSecret, data, time
asset: {},
};

if (data && data.length > 0 && data.length < 65) {
if (data && data.length > 0) {
transaction.asset.data = data;
}

Expand Down

0 comments on commit 981a47d

Please sign in to comment.