Skip to content

Error while checking invoice #416

Description

@rootgleb

This code raises error:

from cryptobot import CryptoBotClient
from cryptobot.models import Asset
import config

client = CryptoBotClient(config.TEST_CRYPTOBOT_TOKEN, is_mainnet=False)
print(client.get_invoices(invoice_ids="814150"))

But it doesn't when invoice is not paid. Error:

Error:
TypeError: Invoice.__init__() got an unexpected keyword argument 'fee_in_usd'

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