Skip to content

Commit f918400

Browse files
updated bip32 to 3.1 from 1.0 due to coincurve library not compling at a lower version
1 parent 472d31d commit f918400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

initialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
if not subprocess.run("python3 -c 'import flask' 2> /dev/null", shell=True, check=False).returncode == 0:
4545
subprocess.run('pip3 install flask', shell=True, check=False)
4646
if not subprocess.run("python3 -c 'import bip32' 2> /dev/null", shell=True, check=False).returncode == 0:
47-
subprocess.run('pip3 install bip32==1.0', shell=True, check=False)
47+
subprocess.run('pip3 install bip32==3.1', shell=True, check=False)
4848

4949
subprocess.run('sleep 3', shell=True, check=False)
5050
subprocess.run('sudo rm -r ~/yetiwallet* 2> /dev/null', shell=True, check=False)

utils/yetifunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def getxprivs(privkeylist):
7676
v.xpublist = []
7777
v.xprivlist = []
7878
for i in range(0,len(privkeylist)):
79-
xpriv = BIP32.from_seed(b58decode(privkeylist[i])[1:33]).get_master_xpriv()
79+
xpriv = BIP32.from_seed(b58decode(privkeylist[i])[1:33]).get_xpriv_from_path([])
8080
v.xprivlist.append(xpriv)
8181
response = handleResponse('~/yeticold/bitcoin/bin/bitcoin-cli -rpcwallet=yetiwalletrec getdescriptorinfo "pk('+xpriv+')"')
8282
xpub = response.split('(')[1].split(')')[0]

0 commit comments

Comments
 (0)