Skip to content

Commit

Permalink
putting the mds to new state manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Terryhung committed Mar 14, 2023
1 parent 749b81f commit c37e3f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/util/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func ImportChain(ctx context.Context, r repo.Repo, fname string, snapshot bool)
return err
}

stm, err := stmgr.NewStateManager(cst, consensus.NewTipSetExecutor(filcns.RewardFunc), vm.Syscalls(ffiwrapper.ProofVerifier), filcns.DefaultUpgradeSchedule(), nil, nil)
stm, err := stmgr.NewStateManager(cst, consensus.NewTipSetExecutor(filcns.RewardFunc), vm.Syscalls(ffiwrapper.ProofVerifier), filcns.DefaultUpgradeSchedule(), nil, mds)
if err != nil {
return err
}
Expand Down

0 comments on commit c37e3f5

Please sign in to comment.