Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros committed Apr 26, 2023
1 parent f358afa commit 3ec4ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ function processGetAddrSecp256k1Response(response) {
const returnCode = errorCodeData[0] * 256 + errorCodeData[1];

const pk = Buffer.from(response.slice(0, 33));
const hex_address = Buffer.from(response.slice(33, 73)).toString();
const hexAddress = Buffer.from(response.slice(33, 73)).toString();

return {
pk,
hex_address,
hex_address: hexAddress,
return_code: returnCode,
error_message: errorCodeToString(returnCode),
};
Expand Down

0 comments on commit 3ec4ed6

Please sign in to comment.