Commit f0ccafc
contracts/bm: Add assertions before updating rewards/fees
Should hopefully prevent any other similar accounting problems
from allowing exploiting the minter balance.1 parent 3428014 commit f0ccafc
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
1487 | 1489 | | |
1488 | 1490 | | |
1489 | 1491 | | |
| 1492 | + | |
| 1493 | + | |
1490 | 1494 | | |
1491 | 1495 | | |
1492 | 1496 | | |
| |||
0 commit comments