diff options
author | login000 | 2019-07-15 20:10:23 +1000 |
---|---|---|
committer | GitHub | 2019-07-15 20:10:23 +1000 |
commit | 6a7afee933ca2edf6a1ba213300afbb66303a57e (patch) | |
tree | 8c71a9303d9b0529b873ca340243793a7d9e49e8 /tcoin.cpp | |
parent | d7db0da8b714d560123e7a83b8bd1b56f3f35129 (diff) |
Fixed bug in "tcoin init" and "tcoin"
Fixed bug in "tcoin init" and "tcoin" when an uninitialised user runs them. Previously, it used to display the following error: Error! Could not open file at <file_path>! Assuming its internal content is "0\n" because 'user_amount' in 'int main()' was read from the file before checking if the user had initialised.
Diffstat (limited to 'tcoin.cpp')
-rw-r--r-- | tcoin.cpp | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/tcoin.cpp b/tcoin.cpp
index 8085950..5aad518 100644
--- a/tcoin.cpp
+++ b/tcoin.cpp
|