Fix bug when modifying wallet in app.

Probably some debug thing I left.