Giveth / vaultcontroller

Vault Architecture
GNU General Public License v3.0
0 stars 3 forks source link

unreachable condition in topUpVault #47

Open adria0 opened 7 years ago

adria0 commented 7 years ago

The condition

if (address(childVault) == 0) throw; // Child project is not initialized

seems that cannot be reached since all calling child vaultcontrollers (the only allowed to call the method) requieres to be initialized to call this method.