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

Vote transaction should not throw an error if recipientPublicKey is not preset #1201

Closed SargeKhan closed 5 years ago

SargeKhan commented 5 years ago

Expected behavior

The vote transaction should be accepted if recipientPublicKey property does not exist on vote transaction

Actual behavior

The vote transaction fails if the recipientPublicKey is not set on the transaction object.

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

release/2.1.0