Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Remove excess parameter from decipherBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Dec 12, 2018
1 parent 3927a0e commit dd2a4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ Wallet.fromV3 = function (input, password, nonStrict) {
}

var decipher = crypto.createDecipheriv(json.crypto.cipher, derivedKey.slice(0, 16), Buffer.from(json.crypto.cipherparams.iv, 'hex'))
var seed = decipherBuffer(decipher, ciphertext, 'hex')
var seed = decipherBuffer(decipher, ciphertext)

return new Wallet(seed)
}
Expand Down

0 comments on commit dd2a4b8

Please sign in to comment.