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

Commit 2d1c13b

Browse files
authored
Merge pull request #77 from ethereumjs/remove-excess-parameter
Remove excess parameter from decipherBuffer
2 parents 3927a0e + dd2a4b8 commit 2d1c13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Wallet.fromV3 = function (input, password, nonStrict) {
277277
}
278278

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

282282
return new Wallet(seed)
283283
}

0 commit comments

Comments
 (0)