Use updated Web3 Secret Storage format for JSON wallets (#3075).

This commit is contained in:
Richard Moore 2022-07-13 21:50:14 -04:00
parent abdf2e30a5
commit 6f57e8b156

@ -329,7 +329,7 @@ export function encrypt(account: ExternallyOwnedAccount, password: Bytes | strin
address: account.address.substring(2).toLowerCase(),
id: uuidV4(uuidRandom),
version: 3,
Crypto: {
crypto: {
cipher: "aes-128-ctr",
cipherparams: {
iv: hexlify(iv).substring(2),