I've got a contract which one of his functions creates a new contract in the following manner: (Solidity)
function createCarrier()
public
{
P2Carrier newCarrier = new P2Carrier(msg.sender);
emit contractCreated(address(newCarrier));
}
I've deployed this to Rinkeby TestNet. When making a transaction to call this function (from android using web3j, and infura as http provider) The event is emitted, but when I look for the address emitted in the event, There is nothing there (using rinkeby.etherscan.io). also, I can see the transaction sent to call the function in etherscan, but I cant see any additional contract creation transaction.
you can see the contract info and transaction here: https://rinkeby.etherscan.io/address/0x7ca846b6d52ccec650187e5ed8e793701de4d00e
Any ideas what's wrong?
Thanks.