summary refs log tree commit diff
path: root/tcoin.cpp
diff options
context:
space:
mode:
authorlogin0002019-07-15 20:10:23 +1000
committerGitHub2019-07-15 20:10:23 +1000
commit6a7afee933ca2edf6a1ba213300afbb66303a57e (patch)
tree8c71a9303d9b0529b873ca340243793a7d9e49e8 /tcoin.cpp
parentd7db0da8b714d560123e7a83b8bd1b56f3f35129 (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.cpp0
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