more debug logging in walletcheck()