correct sending of error up to user based on check
try sending to the network if we don't find the input, since it may still be accepted
Merge pull request #62 from faizkhan00/fix_badinput_check

Fix badinput check