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

Update existsInTransactionPool function parameters and use id instead of transaction object #1190

Closed SargeKhan closed 5 years ago

SargeKhan commented 5 years ago

Expected behavior

The existsInTransactionPool function should accept id of the transaction to search as a parameter, and search the transaction pool if the transaction with the corresponding id exists in the transaction pool.

Actual behavior

The function accepts the transaction object as the function parameter instead of relying on only the id of the transaction.

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

release/2.1.0