Remove excess parameter from decipherBuffer

This commit is contained in:
Alex Beregszaszi 2018-12-12 14:45:41 +00:00
parent 3927a0e540
commit dd2a4b826e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}