This commit is contained in:
Josh Harvey 2016-11-06 20:07:49 +00:00
parent 1771467474
commit 855546f886
7 changed files with 157 additions and 131 deletions

View file

@ -58,7 +58,7 @@ const coins = {
let alertFingerprint = null
let lastAlertTime = null
exports.init = function init (connectionString, seedPath) {
exports.init = function init (seedPath) {
const masterSeed = new Buffer(fs.readFileSync(seedPath, 'utf8').trim(), 'hex')
hkdf = new HKDF('sha256', 'lamassu-server-salt', masterSeed)
}