Commit 3a60dcc
committed
feat(validations): allow unstaking all the stake at once
Namely, apply a protocol-level "rule of convenience", where an
amount to unstake of u64::MAX actually means "unstake all my stake"1 parent 3a68ae4 commit 3a60dcc
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1472 | 1472 | | |
1473 | 1473 | | |
1474 | 1474 | | |
1475 | | - | |
| 1475 | + | |
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
1525 | 1531 | | |
1526 | 1532 | | |
1527 | 1533 | | |
| |||
0 commit comments