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

Commit dd2a4b8

Browse files
committed
Remove excess parameter from decipherBuffer
1 parent 3927a0e commit dd2a4b8

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)