Hi, I watched a bunch of Eth (and other networks, but let’s focus on Eth) addresses using the watchEthAddress
cloud function. When I tried to unwatch them using unwatchEthAddress
the call succeeds, but the addresses are not actually unwatched, I can see the unwatched address both in WatchedEthAddress
table in admin, as well as in “Currently Syncing” section of server details.
Here’s what I ran in JS Console
:
const address = "0xeaecb1a9c21e7f6c4878c529715bcf7f60b42a0c";
const res = await Parse.Cloud.run('unwatchEthAddress', { address }, { useMasterKey: true });
console.log("result: " + JSON.stringify(res));
And here’s the result:
"Log":{1 item
"result":string"result: {"status":200,"data":{"success":true,"result":true}}"
}
Other things I tried:
- removing
useMasterKey
causes an error, so it seems like master key is accepted in JS console - checked that the case matches between table and the call (not sure if it’s case-sensitive)
- updated and restarted the server