compile fix
This commit is contained in:
parent
9382b4d359
commit
bc3ced8f58
|
@ -0,0 +1,5 @@
|
||||||
|
pragma solidity ^0.4.17;
|
||||||
|
|
||||||
|
contract ProposalExecutor {
|
||||||
|
function executeProposal(address topic, uint value, bytes data) external returns (bool success);
|
||||||
|
}
|
|
@ -114,7 +114,7 @@ contract ProposalManager is Controlled {
|
||||||
proposal.voteIndex[msg.sender] = votePos + 1;
|
proposal.voteIndex[msg.sender] = votePos + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function tabulate(uint _proposal, uint loopLimit) {
|
function tabulate(uint _proposal, uint loopLimit) public {
|
||||||
Proposal storage proposal = proposals[_proposal];
|
Proposal storage proposal = proposals[_proposal];
|
||||||
require(block.number > proposal.vetoBlockEnd);
|
require(block.number > proposal.vetoBlockEnd);
|
||||||
require(!proposal.tabulated);
|
require(!proposal.tabulated);
|
||||||
|
|
|
@ -24,7 +24,7 @@ contract TrustNetwork is Controlled {
|
||||||
topics[0x0] = newTopic(0x0, 0x0);
|
topics[0x0] = newTopic(0x0, 0x0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function addTopic(address topicId, address parentTopic) onlyController {
|
function addTopic(address topicId, address parentTopic) public onlyController {
|
||||||
|
|
||||||
Topic memory parent = topics[parentTopic];
|
Topic memory parent = topics[parentTopic];
|
||||||
address vote = address(parent.voteProxy);
|
address vote = address(parent.voteProxy);
|
||||||
|
|
Loading…
Reference in New Issue