hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
61 stars 33 forks source link

Fix 500 error code when fee is too low #975

Closed ARR552 closed 3 years ago

ARR552 commented 3 years ago

Closes #820

What does this PR does?

This PR fix the http error code when the tx fee sumited is too low or too high.

How to test?

Send a tx with 0 fees (or a value below the minimum configurated in the hermez node) and check the http error code 400

Checklist

These are the criteria that every PR should meet, please check them off as you review them: