Skip to content

Commit

Permalink
fix: copy Flags field from SectorOnChainInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg authored and ribasushi committed May 11, 2024
1 parent 46200e1 commit bc021f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions chain/actors/builtin/miner/state.go.template
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ func fromV{{.v}}SectorOnChainInfo(v{{.v}} miner{{.v}}.SectorOnChainInfo) SectorO
{{if (ge .v 12)}}
PowerBaseEpoch: v{{.v}}.PowerBaseEpoch,
ReplacedDayReward: v{{.v}}.ReplacedDayReward,
Flags: SectorOnChainInfoFlags(v{{.v}}.Flags),
{{end}}
}
return info
Expand Down
1 change: 1 addition & 0 deletions chain/actors/builtin/miner/v12.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions chain/actors/builtin/miner/v13.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bc021f3

Please sign in to comment.