Submitted by gpersoon
The function addToWhitelist of RCTreasury.sol does a call to the factory contract, however the factoryAddress might not be initialized, because it is set via a different function (setFactoryAddress).
The function addToWhitelist will revert when it calls a 0 address, but it might be more difficult to troubleshoot.
L233
L210
Recommend verifying that factoryAddress is set in the function addToWhitelist, for example using the following code.
require(factory != address(0), "Must have an address");
Splidge (Reality Cards) confirmed and resolved:
