We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2434867 commit 6c081a9Copy full SHA for 6c081a9
actors/miner/src/lib.rs
@@ -3094,8 +3094,7 @@ impl Actor {
3094
rt.transaction(|state: &mut State, rt| {
3095
let mut info = get_miner_info(rt.store(), state)?;
3096
3097
- // Only the owner is allowed to withdraw the balance as it belongs to/is controlled by the owner
3098
- // and not the worker.
+ // Only the owner or the beneficiary is allowed to withdraw the balance.
3099
rt.validate_immediate_caller_is(&[info.owner, info.beneficiary])?;
3100
3101
// Ensure we don't have any pending terminations.
0 commit comments