EYBlockchain / nightfall_3

a mono-repo containing an optimistic version of nightfall
Creative Commons Zero v1.0 Universal
260 stars 57 forks source link

fix: fixing unrestricted deposits #1399

Closed druiz0992 closed 1 year ago

druiz0992 commented 1 year ago

What does this implement/fix? Explain your changes.

To remove restrictions on deposits and withdrawals, we typically set a value of -1 on the restriction amount (it needs to be negative). However, since we divide the restricted amount by 4, the result is a 0 effectively preventing any deposit.

Does this close any currently open issues?

No

What commands can I run to test the change?

Any other comments?