Skip to content

Allow convenience bitforge.Address(str) constructor #56

@federicobond

Description

@federicobond

Right now, the Address constructor is not very usable as it takes a phash as input. Perhaps we can check the input argument length and delegate to from_string or from_hex. This should not be recommended for production code, but could be useful (and more pythonic) for quick scripts.

What do you think, @slezica?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions