Skip to content

Commit

Permalink
fix: change precommit message params
Browse files Browse the repository at this point in the history
  • Loading branch information
hunjixin committed Dec 22, 2022
1 parent 0bbfe30 commit 22a5c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storageprovider/ondealsectorcommitted.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func dealSectorInReplicaUpdateSuccess(msg *types.Message, rec *types.MessageRece
func dealSectorInPreCommitMsg(msg *types.Message, res CurrentDealInfo) (*abi.SectorNumber, error) {
switch msg.Method {
case builtin.MethodsMiner.PreCommitSector:
var params types.SectorPreCommitInfo
var params types.PreCommitSectorParams
if err := params.UnmarshalCBOR(bytes.NewReader(msg.Params)); err != nil {
return nil, fmt.Errorf("unmarshal pre commit: %w", err)
}
Expand Down

0 comments on commit 22a5c99

Please sign in to comment.