plumb more contexts in lotus

This commit is contained in:
vyzo
2021-12-13 14:26:59 +02:00
parent 7ed40c1ec7
commit 84710cf27e
8 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ func BuiltinDrandConfig() dtypes.DrandSchedule {
}
func RandomSchedule(p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.Schedule, error) {
gen, err := p.Cs.GetGenesis()
gen, err := p.Cs.GetGenesis(context.Background())
if err != nil {
return nil, err
}