Change HKDF return type from string to arrayBuffer (#204)
This commit is contained in:
parent
bd75194526
commit
65e2bf6a63
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ function httpError (msg, code) {
|
|||
}
|
||||
|
||||
function computeSeed (masterSeed) {
|
||||
return hkdf(masterSeed, 32, {salt: 'lamassu-server-salt', info: 'wallet-seed'}).toString('hex')
|
||||
return hkdf(masterSeed, 32, {salt: 'lamassu-server-salt', info: 'wallet-seed'})
|
||||
}
|
||||
|
||||
function fetchWallet (settings, cryptoCode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue