Make the class FeeFilterRounder
thread-safe so that its methods can be called concurrently by different threads on the same object. Currently it has just one method (round()
).
The second commit is optional, but it improves readability, showing that the feeset
member will never be changed, thus does not need protection from concurrent access.