Skip to content

Commit

Permalink
Making TransactionPool.getPendingState synchronised
Browse files Browse the repository at this point in the history
  • Loading branch information
asoto-iov committed Jul 17, 2023
1 parent 358a0b6 commit 8924e30
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 8924e30

Please sign in to comment.