Skip to content

Commit 6c081a9

Browse files
authored
chore: miner: fix comment in light of FIP-0029 (#649)
1 parent 2434867 commit 6c081a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

actors/miner/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,8 +3094,7 @@ impl Actor {
30943094
rt.transaction(|state: &mut State, rt| {
30953095
let mut info = get_miner_info(rt.store(), state)?;
30963096

3097-
// Only the owner is allowed to withdraw the balance as it belongs to/is controlled by the owner
3098-
// and not the worker.
3097+
// Only the owner or the beneficiary is allowed to withdraw the balance.
30993098
rt.validate_immediate_caller_is(&[info.owner, info.beneficiary])?;
31003099

31013100
// Ensure we don't have any pending terminations.

0 commit comments

Comments
 (0)