Skip to content

Create bsv.Address from sCrypt PubKeyHash object #11

Description

@msinkec

If you use want to create an Address object from a PubKeyHash or Ripemd160, the fromHex will complain, that it needs 21 bytes (the first byte is the network prefix), even if you pass the network as a second parameter. Hence you always need to append the prefix manually.

This should be done automatically under the hood.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

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