bitcore icon indicating copy to clipboard operation
bitcore copied to clipboard

missing `util.buffer.hexToBuffer`

Open r4mmer opened this issue 4 years ago • 0 comments

In previous versions this method existed, is there any reason why it was removed? The implementation should be a simple:

function hexToBuffer(value) {
    $.checkArgumentType(value, 'string', 'value');
    return Buffer.from(value, 'hex');
}

Last version i found this method present is 8.2.0

r4mmer avatar May 26 '21 18:05 r4mmer