update to latest hamt changes

This commit is contained in:
whyrusleeping
2020-02-03 18:52:18 -08:00
parent 5cc089be12
commit dfe87c9f6f
12 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ func (a *StateAPI) StateReadState(ctx context.Context, act *types.Actor, ts *typ
return nil, err
}
blk, err := state.Store.Blocks.GetBlock(ctx, act.Head)
blk, err := state.Store.(*hamt.BasicCborIpldStore).Blocks.GetBlock(ctx, act.Head)
if err != nil {
return nil, err
}