Skip to content

Commit

Permalink
Merge pull request #1482 from 0chain/hotfix/share-time
Browse files Browse the repository at this point in the history
increase time gap for share
  • Loading branch information
dabasov authored Oct 30, 2024
2 parents 25e8f11 + 86a2927 commit b0dbb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/go/0chain.net/blobbercore/readmarker/authticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (authToken *AuthTicket) Verify(allocationObj *allocation.Allocation, client
if authToken.OwnerID != allocationObj.OwnerID {
return common.NewError("invalid_parameters", "Invalid auth ticket. Owner ID mismatch")
}
if authToken.Timestamp > (common.Now() + 2) {
if authToken.Timestamp > (common.Now() + 120) {
return common.NewError("invalid_parameters", "Invalid auth ticket. Timestamp in future")
}

Expand Down

0 comments on commit b0dbb18

Please sign in to comment.