Update main.cpp

edied lines 1007-1009 for electrum