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

Fix the invalid filter for fetching dapp account in InTransfer Transaction #1223

Closed SargeKhan closed 5 years ago

SargeKhan commented 5 years ago

Expected behavior

In InTransfer transaction, fetching account with senderId of the dapp should be performed by querying the account state store with filter object as: { address: senderId }

Actual behavior

Filter for fetching creator of Dapp is wrong. It tries to fetch the account by searching the account state store where id is equal to senderId.

Steps to reproduce

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