LiskArchive / lisk-elements

⚙️ Library for sending Lisk transactions from the client or server
https://lisk.io/
GNU General Public License v3.0
250 stars 64 forks source link

TransactionError in case of exceeding votes for VoteTransaction has invalid parameters #1206

Closed SargeKhan closed 5 years ago

SargeKhan commented 5 years ago

Expected behavior

The parameters provided in case of exceeding votes should specify the dataPath equal to asset.votes

Actual behavior

In the applyAsset function for vote transactions, the TransactionError object is instantiated without providing the dataPath parameter.

Which version(s) does this affect? (Environment, OS, etc...)

release/2.1.0