Minor fixes for wallet_notify