op-service: Use atomic int in receipts tests
numCalls are incremented concurrently, so access needs to be made concurrency safe. - testify.Mock doesn't hold a lock when calling a provided Run function. - simple mock also has concurrent access.
Showing
Please register or sign in to comment