Skip to content

Commit

Permalink
1135 get pending transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Dec 18, 2023
1 parent 5c7a686 commit 77c1010
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions chains/Schain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,10 @@ void Schain::lockWithDeadLockCheck( const char* _functionName ) {
} else {
// on sync nodes we get candidate block and throw it away immediately
// this is to clean skaled queues
u256 stateRoot = 0;
if (!extFace) { // we are in tests
return;
if (extFace) { // if extFace is null we are in consensus tests and there is no skaled
u256 stateRoot = 0;
extFace->pendingTransactions( getNode()->getMaxTransactionsPerBlock(), stateRoot );
}
extFace->pendingTransactions( getNode()->getMaxTransactionsPerBlock(), stateRoot );
}
}

Expand Down

0 comments on commit 77c1010

Please sign in to comment.