Skip to content
Snippets Groups Projects
Commit 66625f9a authored by Adrien Béraud's avatar Adrien Béraud
Browse files

contract: fix compilation with latest solidity compiler

Change-Id: Ia20019d09a3b68d9af6d790f6dfb503e71207a7d
parent b20ea938
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ contract GlobalRegistrar is Registrar {
}
}
modifier onlyrecordowner(bytes32 _name) { if (m_toRecord[_name].owner == msg.sender) _ }
modifier onlyrecordowner(bytes32 _name) { if (m_toRecord[_name].owner == msg.sender) _; }
function transfer(bytes32 _name, address _newOwner) onlyrecordowner(_name) {
m_toRecord[_name].owner = _newOwner;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment