Skip to content

Commit

Permalink
Kernel: fix no returns from overloads of newAppInstance() (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored May 23, 2018
1 parent 851e46b commit 478e7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/kernel/Kernel.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract Kernel is IKernel, KernelStorage, Initializable, IsContract, AppProxyFa
* @return AppProxy instance
*/
function newAppInstance(bytes32 _name, address _appBase) auth(APP_MANAGER_ROLE, arr(APP_BASES_NAMESPACE, _name)) public returns (ERCProxy appProxy) {
newAppInstance(_name, _appBase, false);
return newAppInstance(_name, _appBase, false);
}

/**
Expand Down Expand Up @@ -73,7 +73,7 @@ contract Kernel is IKernel, KernelStorage, Initializable, IsContract, AppProxyFa
* @return AppProxy instance
*/
function newPinnedAppInstance(bytes32 _name, address _appBase) auth(APP_MANAGER_ROLE, arr(APP_BASES_NAMESPACE, _name)) public returns (ERCProxy appProxy) {
newPinnedAppInstance(_name, _appBase, false);
return newPinnedAppInstance(_name, _appBase, false);
}

/**
Expand Down

0 comments on commit 478e7f8

Please sign in to comment.