cowprotocol/solver-rewards

Use more meaningful function name

Closed this issue · 2 comments

Nit: Give this function a more meaningful name that describes what it does.

Originally posted by @gentrexha in #271 (comment)

From the Clean Code Book:

Methods should have verb or verb phrase names like postPayment , deletePage , or save.

Therefore, I recommend something along the lines of preprocessTxHash or preptxhash.

Not applicable anymore