1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-03-03 18:30:32 +00:00

Merge pull request #27 from andytudhope/master

Slight gas savings
This commit is contained in:
Andy Tudhope 2019-08-07 10:49:16 +02:00 committed by GitHub
commit 0ff3197c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,7 +273,7 @@ contract Discover is Controlled, ApproveAndCallFallBack, BancorFormula {
* @param _id bytes32 unique identifier.
* @return balance_down_by, votes_required, cost
*/
function downvoteCost(bytes32 _id) public view returns(uint b, uint vR, uint c) {
function downvoteCost(bytes32 _id) external view returns(uint b, uint vR, uint c) {
Data memory d = _getDAppById(_id);
return _downvoteCost(d);
}