-
Notifications
You must be signed in to change notification settings - Fork 1
Add addrToPkhHex? #18
Copy link
Copy link
Open
Description
Since the internal implementation is hex, and the JSON representation is hex (not Uint8Array), which is also what DashTx needs, perhaps we should expose the method for getting Hex directly rather than deconverting back to Hex from Bytes.
let pkhBytes = await DashKeys.addrToPkh(output.address);
output.pubKeyHash = DashKeys.utils.bytesToHex(pkhBytes);See also:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels