You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value-tuple state in flip-coin.clar can be reused and just passed along until and after a match, simplifying the implementation and making it more efficient:
The
value-tuple
state in flip-coin.clar can be reused and just passed along until and after a match, simplifying the implementation and making it more efficient:clarity-smart-contracts/contracts/experiments/flip-coin.clar
Lines 16 to 23 in fec22ba
=>
Also, consider turning
result
into a boolean initially set tofalse
to eliminate the test on the result of the reduction:The text was updated successfully, but these errors were encountered: