Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
add to cron tick
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed May 4, 2020
1 parent 78d523d commit 8abe31a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions actors/builtin/cron/cron_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ func ConstructState(entries []Entry) *State {

// The default entries to install in the cron actor's state at genesis.
func BuiltInEntries() []Entry {
return []Entry{{
Receiver: builtin.StoragePowerActorAddr,
MethodNum: builtin.MethodsPower.OnEpochTickEnd,
}}
return []Entry{
{
Receiver: builtin.StoragePowerActorAddr,
MethodNum: builtin.MethodsPower.OnEpochTickEnd,
},
{
Receiver: builtin.StorageMarketActorAddr,
MethodNum: builtin.MethodsMarket.CronTick,
},
}
}

0 comments on commit 8abe31a

Please sign in to comment.