From 478e7f82398c3329b7aec6fccfe2a637cafe04f4 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Tue, 22 May 2018 22:33:31 -0600 Subject: [PATCH] Kernel: fix no returns from overloads of newAppInstance() (#323) --- contracts/kernel/Kernel.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/kernel/Kernel.sol b/contracts/kernel/Kernel.sol index 9f6b31d58..b3d477967 100644 --- a/contracts/kernel/Kernel.sol +++ b/contracts/kernel/Kernel.sol @@ -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); } /** @@ -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); } /**