Skip to content

Commit

Permalink
fix un-consunsus api StateMinerPreCommitDepositForPower (#4678)
Browse files Browse the repository at this point in the history
  • Loading branch information
zl03jsj authored Jan 6, 2022
1 parent 878026a commit e7d0e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/submodule/chain/miner_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (msa *minerStateAPI) StateMinerPreCommitDepositForPower(ctx context.Context
}

var sTree *tree.State
ts, sTree, err = msa.Stmgr.ParentState(ctx, ts)
_, sTree, err = msa.Stmgr.ParentState(ctx, ts)
if err != nil {
return big.Int{}, xerrors.Errorf("ParentState failed:%v", err)
}
Expand Down

0 comments on commit e7d0e4b

Please sign in to comment.