mirror of
https://github.com/embarklabs/ethereumjs-wallet.git
synced 2025-01-28 11:24:50 +00:00
Remove excess parameter from decipherBuffer
This commit is contained in:
parent
3927a0e540
commit
dd2a4b826e
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user