A common flaw in the math:
The wager is not 260, it is 234. The rest from both sides is the rake in favour of the company.
Thus both pay 260. The loser loses all of it, 26 to WGT, 234 to the winner.
The winner gets 2x the wager, that is 234+234 = 468. Subtract his payment of 260, then the result is 208 net win.
BTW: The optimum is to put in anything ending on ...4 crs. A rounding issue...