Update main.cpp

Temporary hack to make the wallet run. Commented out the part that caused it to crash.