wallet module error checks improved on invalid input
README