Skip to content

Equality Checking #58

@breavyn

Description

@breavyn

Checking equality between a pair of keys/addresses/scripts/etc. in javascript requires something like the following.

Buffer.compare(a.toBytes(), b.toBytes()) === 0

It would be nice to have a convenience method for checking this.

a.equals(b)

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