mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-11 00:46:36 +00:00
If our smart contract is used as designed for payout (first commiteth bot executes confirmTransaction() with a withdrawEverything call in payload and then the repo owner calls confirmTransaction() with the returned tx-id) the contract fails when executing, but confirming succeeds. Because of this, we now look for contracts that have been confirmed by both and that still have ETH and/or tokens, and call executeTransaction() for those. This needs testing.