Fix for repeated "Error redeeming err=failed to estimate gas needed" errors

Some orchestrator operators have encountered the following errors in their logs:

E0806 21:08:10.029902   11181 queue.go:133] Error redeeming err=failed to estimate gas needed: gas required exceeds allowance (12499891) or always failing transaction
E0806 21:08:10.062370   11181 queue.go:133] Error redeeming err=failed to estimate gas needed: gas required exceeds allowance (12499891) or always failing transaction
E0806 21:08:10.094433   11181 queue.go:133] Error redeeming err=failed to estimate gas needed: gas required exceeds allowance (12499891) or always failing transaction

These errors likely mean that your node has an expired winning ticket stored in its database that it is repeatedly trying to redeem. But, because the ticket is expired, each attempt to submit a redemption transaction results in an error. As long as you do not use the -gasPrice flag when starting your node, these failed redemptions do not cost you anything because a transaction is never submitted on-chain.

This issue will be resolved in the next go-livepeer release, but for now, orchestrator operators that encounter this issue should follow the steps described in this gist in order to mark expired tickets in the node’s database so that the node will stop trying to redeem those tickets. It is important for the node to not continuously try to redeem these expired tickets because otherwise the node will not move on and try to redeem other non-expired tickets in its database.