Is is possible and good practise to set a variable in a require statement? Didnt find any source where someone did it like this. Have an auction contract and a "ended" boolean

Aug 16, 2020, 9:36 AM
In require its checked by timedtamps if auction is ended. Want to set boolean after check
Aug 16, 2020, 9:38 AM
No I don't think that's possible. You can only check a boolean condition. Just set the variable after the require
Aug 16, 2020, 10:10 AM

© 2024 Draquery.com All rights reserved.