From 20231c0e7b45f8e406d94a234c6d4346f01b69d1 Mon Sep 17 00:00:00 2001 From: enkogu Date: Fri, 5 Oct 2018 21:17:20 +0700 Subject: [PATCH] linter fix: ){ --- contracts/moneyflow/MoneflowTable.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/moneyflow/MoneflowTable.sol b/contracts/moneyflow/MoneflowTable.sol index 622a34b..7597423 100644 --- a/contracts/moneyflow/MoneflowTable.sol +++ b/contracts/moneyflow/MoneflowTable.sol @@ -263,7 +263,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable { // -------------------- public SCHEME FUNCTIONS -------------------- - function addAbsoluteExpense(uint _neededAmount, bool _isPeriodic, bool _isAccumulateDebt, uint _periodHours, IWeiReceiver _output)public onlyOwner returns(uint){ + function addAbsoluteExpense(uint _neededAmount, bool _isPeriodic, bool _isAccumulateDebt, uint _periodHours, IWeiReceiver _output)public onlyOwner returns(uint) { expenses[elementsCount] = Expense( _neededAmount, 0, _periodHours, _isPeriodic, _isAccumulateDebt, _output, @@ -287,7 +287,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable { return elementsCount-1; } - function addTopdownSplitter()public onlyOwner returns(uint){ + function addTopdownSplitter()public onlyOwner returns(uint) { uint[] memory emptyOutputs; splitters[elementsCount] = Splitter(true, emptyOutputs); elementsType[elementsCount] = ElementTypes.TopdownSplitter; @@ -296,7 +296,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable { return elementsCount-1; } - function addUnsortedSplitter()public onlyOwner returns(uint){ + function addUnsortedSplitter()public onlyOwner returns(uint) { uint[] memory emptyOutputs; splitters[elementsCount] = Splitter(true, emptyOutputs); elementsType[elementsCount] = ElementTypes.UnsortedSplitter; @@ -305,7 +305,7 @@ contract MoneyflowTable is IWeiReceiver, Ownable { return elementsCount-1; } - function addChild(uint _splitterId, uint _childId)public onlyOwner returns(uint){ + function addChild(uint _splitterId, uint _childId)public onlyOwner returns(uint) { // add require`s splitters[_splitterId].outputs.push(_childId); }