Merge pull request #2405 from keyko-io/fix/hamt-loadnode

Fixing hamt bittreewidth
This commit is contained in:
Łukasz Magiera 2020-07-14 12:39:03 +02:00 committed by GitHub
commit 55cfebb439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -852,7 +852,7 @@ func (a *StateAPI) StateVerifiedClientStatus(ctx context.Context, addr address.A
return nil, err
}
vh, err := hamt.LoadNode(ctx, cst, st.VerifiedClients)
vh, err := hamt.LoadNode(ctx, cst, st.VerifiedClients, hamt.UseTreeBitWidth(5))
if err != nil {
return nil, err
}