Skip to content

Commit

Permalink
Update x/oracle/abci.go
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerKSI authored Feb 21, 2024
1 parent c3ac245 commit e078abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/oracle/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
func handleBeginBlock(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper) {
// Update rolling seed used for pseudorandom oracle provider selection.
hash := req.GetHash()
// On the firsrt block in the test. it's possible to have empty hash.
// On the first block in the test. it's possible to have empty hash.
if len(hash) > 0 {
rollingSeed := k.GetRollingSeed(ctx)
k.SetRollingSeed(ctx, append(rollingSeed[1:], hash[0]))
Expand Down

0 comments on commit e078abb

Please sign in to comment.