mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
fix test
This commit is contained in:
parent
5a93bf054e
commit
df59a43300
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import tempfile
|
||||||
from typing import Sequence
|
from typing import Sequence
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
from electrum import storage, bitcoin, keystore
|
from electrum import storage, bitcoin, keystore, bip32
|
||||||
from electrum import Transaction
|
from electrum import Transaction
|
||||||
from electrum import SimpleConfig
|
from electrum import SimpleConfig
|
||||||
from electrum.address_synchronizer import TX_HEIGHT_UNCONFIRMED, TX_HEIGHT_UNCONF_PARENT
|
from electrum.address_synchronizer import TX_HEIGHT_UNCONFIRMED, TX_HEIGHT_UNCONF_PARENT
|
||||||
|
@ -178,7 +178,7 @@ class TestWalletKeystoreAddressIntegrityForMainnet(SequentialTestCase):
|
||||||
long_user_id, short_id = trustedcoin.get_user_id(
|
long_user_id, short_id = trustedcoin.get_user_id(
|
||||||
{'x1/': {'xpub': xpub1},
|
{'x1/': {'xpub': xpub1},
|
||||||
'x2/': {'xpub': xpub2}})
|
'x2/': {'xpub': xpub2}})
|
||||||
xtype = bitcoin.xpub_type(xpub1)
|
xtype = bip32.xpub_type(xpub1)
|
||||||
xpub3 = trustedcoin.make_xpub(trustedcoin.get_signing_xpub(xtype), long_user_id)
|
xpub3 = trustedcoin.make_xpub(trustedcoin.get_signing_xpub(xtype), long_user_id)
|
||||||
ks3 = keystore.from_xpub(xpub3)
|
ks3 = keystore.from_xpub(xpub3)
|
||||||
WalletIntegrityHelper.check_xpub_keystore_sanity(self, ks3)
|
WalletIntegrityHelper.check_xpub_keystore_sanity(self, ks3)
|
||||||
|
|
Loading…
Add table
Reference in a new issue