implement randomness distinction

This commit is contained in:
Whyrusleeping
2020-08-12 10:32:39 -07:00
committed by Steven Allen
parent 9248e5a572
commit ed72aa1307
7 changed files with 64 additions and 11 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func (a *ChainAPI) ChainGetRandomness(ctx context.Context, tsk types.TipSetKey,
return nil, xerrors.Errorf("loading tipset key: %w", err)
}
return a.Chain.GetRandomness(ctx, pts.Cids(), personalization, randEpoch, entropy)
return a.Chain.GetChainRandomness(ctx, pts.Cids(), personalization, randEpoch, entropy)
}
func (a *ChainAPI) ChainGetBlock(ctx context.Context, msg cid.Cid) (*types.BlockHeader, error) {