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

Commit

Permalink
🐛 Fix pending transactions query by blockID
Browse files Browse the repository at this point in the history
  • Loading branch information
nagdahimanshu committed Jan 24, 2024
1 parent 1a8da32 commit 97c608a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ const getPendingTransactions = async params => {
meta: { total: 0 },
};

if ('blockID' in params || 'timestamp' in params || 'height' in params) {
return pendingTransactions;
}

const offset = Number(params.offset) || 0;
const limit = Number(params.limit) || 10;

Expand Down

0 comments on commit 97c608a

Please sign in to comment.