With a stunning design, connected to the blockchain, metamask pairing, interaction with smart contracts, sending Ethereum through the blockchain network, and writing solidity code.
The condition of the require statement is flipped (deadline should be greater than current timestamp) and it is checking the value of a variable that hasn't been assigned a value yet (0), which which will always be less than the current timestamp.
I have flipped the inequality and used the value passed to the function.
The condition of the require statement is flipped (deadline should be greater than current timestamp) and it is checking the value of a variable that hasn't been assigned a value yet (0), which which will always be less than the current timestamp.
I have flipped the inequality and used the value passed to the function.