Say I am expecting a result to be returned. What will happen to the return value when the call will go through to the fallback since the fallback does not return anything?

uint a = otherContract.bar();

where I expect bar to return uint but otherContract does not actually implement it

function bar () returns (uint);

Will a take a value? will the cal throw?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.