fix bad check for type.
fix bad check for type.

salmion/dashwallet,bankonme/darkwallet,darkwallet/darkwallet,CryptArc/darkwallet,salmion/dashwallet,darkwallet/darkwallet,CryptArc/darkwallet,bankonme/darkwallet