Skip to content

Issue with telegram Bot #596

Description

@hsdredgun

Description
After upgrading to LND v0.21.0-beta.rc1, the BOS Telegram bot is unable to fetch payments. LND v0.21.0 introduced a migration of the payments database from the KV store to a native SQL (SQLite) backend (kv_payments_migration, schema version 14).

Environment

  • LND version: 0.21.0-beta.rc1
  • BOS version: 20.1.4
  • DB backend: SQLite (db.backend=sqlite, db.use-native-sql=true)

Steps to reproduce

  1. Upgrade LND from v0.20.x to v0.21.0-beta.rc1
  2. Allow kv_payments_migration to complete
  3. BOS Telegram bot no longer returns payment history

Expected behavior
BOS Telegram bot fetches and displays payments as before.

Actual behavior
Payments cannot be retrieved via the Telegram bot after the SQL migration.

P.S. Additionally, the bundled lightning library crashes with ExpectedEventTypeInChannelSubscription on subscribe_to_channels.js — LND v0.21.0 emits a new gRPC channel event type that the current lightning package does not handle, causing the bot to crash and reconnect every ~3-4 minutes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions