simplewallet returns 0 when no error