Skip to content

Wrong type in Address.d.ts #85

Description

@Psycarlo

Problem

Address.d.ts network argument is a string instead of Network:

create(address: string, network: string): Promise<Address>; https://github.com/LtbLightning/bdk-rn/blob/v31-upgrade/lib/classes/Address.js

For example, fromScript function is correct:
fromScript(script: Script, network: Network): Promise<Address>;

Proposed fixes

create(address: string, network: Network): Promise<Address>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions