Update main.cpp

Fixes Sync issues for Foundation Address not present on the beginning of the Blockchain.