Fixed wrong logic for the hasEnoughFunds variable in allocate flow
#933
+20
−39
hasEnoughFunds variable in allocate flow
#933