Skip to content

Commit

Permalink
Merge pull request #2066 from rsksmart/get_transactionPoll_pendingSta…
Browse files Browse the repository at this point in the history
…te_synchronised

Making TransactionPool.getPendingState synchronised
  • Loading branch information
Vovchyk authored Jul 17, 2023
2 parents 358a0b6 + 8924e30 commit 9a9a5cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public Block getBestBlock() {
}

@Override
public PendingState getPendingState() {
public synchronized PendingState getPendingState() {
return getPendingState(getCurrentRepository());
}

Expand Down

0 comments on commit 9a9a5cf

Please sign in to comment.