Skip to content

Commit

Permalink
Merge pull request #1873 from livepeer/nv/tp-expiry
Browse files Browse the repository at this point in the history
pm: increase TicketParams expiration to 10 blocks
  • Loading branch information
kyriediculous committed May 11, 2021
2 parents 8fa4b7e + 21dc7de commit f8eef75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#### Orchestrator

- \#1845 Staking actions with hints (@kyriediculous)
- \#1873 Increase TicketParams expiration to 10 blocks (@kyriediculous)

#### Transcoder

Expand Down
2 changes: 1 addition & 1 deletion pm/recipient.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var errInsufficientSenderReserve = errors.New("insufficient sender reserve")
// maxWinProb = 2^256 - 1
var maxWinProb = new(big.Int).Sub(new(big.Int).Lsh(big.NewInt(1), 256), big.NewInt(1))

var paramsExpirationBlock = big.NewInt(5)
var paramsExpirationBlock = big.NewInt(10)

// Recipient is an interface which describes an object capable
// of receiving tickets
Expand Down

0 comments on commit f8eef75

Please sign in to comment.