I have a contract that uses Oraclize to query some data. When the query is sent, a global variable
address is set to the
msg.sender. This is to be able to interact with the query sender in the
However, I have a doubt that, while waiting for the
__callback() to be executed, another address may initiate the query, and the global state variable
address will be set to that new address, and when the
__callback() of the first will be executed, it will interact with a wrong address.
Is this a possible scenario? And, if so, how to prevent it? Maybe by linking the
__callback() to the query?