Skip to content

Commit b4e44a9

Browse files
authored
fix beacon randomness (#4475)
1 parent 73c8c83 commit b4e44a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/submodule/chain/chaininfo_api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ func (cia *chainInfoAPI) ChainGetRandomnessFromBeacon(ctx context.Context, key t
338338
return cia.chain.ChainReader.GetBeaconRandomness(ctx, ts.Key(), personalization, randEpoch, entropy, false)
339339
}
340340

341-
return cia.chain.ChainReader.GetChainRandomness(ctx, ts.Key(), personalization, randEpoch, entropy, true)
341+
return cia.chain.ChainReader.GetBeaconRandomness(ctx, ts.Key(), personalization, randEpoch, entropy, true)
342342
}
343343

344344
// ChainGetRandomnessFromTickets is used to sample the chain for randomness.

0 commit comments

Comments
 (0)