Update main.h

fix wallet issue:

error: {"code":-1,"message":"CWallet::GetDebit() : value out of range"}