Open
Description
The call should be able to reflect the state of the tournament correctly, being one of the three below:
- Tournament not finished.
- Tournament finished, no one won (parent can delete parent match).
- Tournament finished, here's the winner.
@return (bool, Tree.Node, Tree.Node)
The return values could be:
- (false, zeroNode, zeroNode)
- (true, zeroNode, zeroNode)
- (true, winnerParentCommitment, winnerCommitment)
Currently we handled (1) and (3), missing (2). @GCdePaula do you think the return values of (2) above makes sense?