mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
fix version
This commit is contained in:
parent
deaa5745a4
commit
ca77e1e7fd
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import electrum, getpass, base64,ast,sys
|
||||||
|
|
||||||
|
|
||||||
def upgrade_wallet(wallet):
|
def upgrade_wallet(wallet):
|
||||||
if wallet.version == 1 and wallet.use_encryption:
|
if wallet.seed_version == 1 and wallet.use_encryption:
|
||||||
# version 1 used pycrypto for wallet encryption
|
# version 1 used pycrypto for wallet encryption
|
||||||
import Crypto
|
import Crypto
|
||||||
from Crypto.Cipher import AES
|
from Crypto.Cipher import AES
|
||||||
|
|
Loading…
Add table
Reference in a new issue