Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 42 characters in body
Source Link
Badr Bellaj
  • 18.8k
  • 4
  • 59
  • 75

Function returns null address in any case.

pragma solidity ^0.4.9;

contract Test {

pragma solidity ^0.4.9;

contract Test {

    address da;
    function getSender () constant returns (address){
        da=msg.sender;
        return da;
    }
}

}

Tried through myetherwallet and parity, network is not synchronized.

Function returns null address in any case.

pragma solidity ^0.4.9;

contract Test {

address da;
function getSender () constant returns (address){
    da=msg.sender;
    return da;
}

}

Tried through myetherwallet and parity, network is not synchronized.

Function returns null address in any case.

pragma solidity ^0.4.9;

contract Test {

    address da;
    function getSender () constant returns (address){
        da=msg.sender;
        return da;
    }
}

Tried through myetherwallet and parity, network is not synchronized.

Source Link
Aliev
  • 21
  • 2

function with msg.sender does not return address

Function returns null address in any case.

pragma solidity ^0.4.9;

contract Test {

address da;
function getSender () constant returns (address){
    da=msg.sender;
    return da;
}

}

Tried through myetherwallet and parity, network is not synchronized.