Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguyen22 committed Jul 27, 2020
1 parent d1b8944 commit e644a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pocketcore/keeper/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (k Keeper) SendClaimTx(ctx sdk.Ctx, n client.Client, claimTx func(pk crypto
// get the session context
sessionCtx, er := ctx.PrevCtx(evidence.SessionHeader.SessionBlockHeight)
if er != nil {
ctx.Logger().Error("could not get sessionCtx in auto send claim tx: " + er.Error())
ctx.Logger().Info("could not get sessionCtx in auto send claim tx, could be due to relay timing before commit is in store: " + er.Error())
continue
}
if ctx.BlockHeight() <= evidence.SessionBlockHeight+k.BlocksPerSession(sessionCtx)-1 { // ensure session is over
Expand Down

0 comments on commit e644a68

Please sign in to comment.