Skip to content

Commit 29658f6

Browse files
committed
Remove market actor requirement on notifications
1 parent 747a3ed commit 29658f6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

actors/miner/src/notifications.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ pub fn notify_data_consumers(
5858
}
5959

6060
for (notifee, payloads) in activations_by_notifee {
61-
// Reject notifications to any actor other than the built-in market.
62-
if notifee != STORAGE_MARKET_ACTOR_ADDR {
63-
if require_success {
64-
return Err(
65-
actor_error!(illegal_argument; "disallowed notification receiver: {}", notifee),
66-
);
67-
}
68-
continue;
69-
}
7061
let sectors_changes: Vec<SectorChanges> = payloads
7162
.into_iter()
7263
.map(|(sector_number, pieces)| SectorChanges {

0 commit comments

Comments
 (0)