Nomination pools: Fix payout destination in permissionless unbond (#3110)
This fixes a bug in nomination pools that msitakenly claimed the
rewards, upon pool destruction, into the caller of `unbond` and not the
actual member.
More description and a PA coming soon. Opening this for now to expediate
backport.
---------
Co-authored-by:
Gonçalo Pestana <g6pestana@gmail.com>
Showing
- prdoc/pr_3110.prdoc 12 additions, 0 deletionsprdoc/pr_3110.prdoc
- substrate/frame/nomination-pools/Cargo.toml 6 additions, 2 deletionssubstrate/frame/nomination-pools/Cargo.toml
- substrate/frame/nomination-pools/src/lib.rs 53 additions, 20 deletionssubstrate/frame/nomination-pools/src/lib.rs
- substrate/frame/nomination-pools/src/tests.rs 122 additions, 0 deletionssubstrate/frame/nomination-pools/src/tests.rs
Please register or sign in to comment