contract A {
function one() public {
//transfer to B to call its fallback function
B(addressB).transfer(value);
}
contract B {
function() external payable {
someaddress.transfer(msg.value);
}
In reality, is it impossible to do so?
Otherwise, if I create an empty B's fallback function then it works. Or if I create simple function with someaddress.transfer(msg.value); and call this function from contract A as B(address).someFunction.value(value)() then it also works.