Unreliable reward payment
alepacheco opened this issue · 2 comments
alepacheco commented
The loser and change its permissions mid game making the game stakeless
blox-tictactoe-stakes/TicTacToe.cpp
Line 120 in 6c7f97c
netromdk commented
Thanks for the notice. I am going to try making another version where the stakes are transferred from both players on newgame
to make sure they have the funds, and then transfer from the contract to the winner instead (and on draw or endgame to both, of course).
netromdk commented
@alepacheco I've changed in accordance to the above. Any comments?