File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
44
if not subprocess .run ("python3 -c 'import flask' 2> /dev/null" , shell = True , check = False ).returncode == 0 :
45
45
subprocess .run ('pip3 install flask' , shell = True , check = False )
46
46
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 )
48
48
49
49
subprocess .run ('sleep 3' , shell = True , check = False )
50
50
subprocess .run ('sudo rm -r ~/yetiwallet* 2> /dev/null' , shell = True , check = False )
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def getxprivs(privkeylist):
76
76
v .xpublist = []
77
77
v .xprivlist = []
78
78
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 ([] )
80
80
v .xprivlist .append (xpriv )
81
81
response = handleResponse ('~/yeticold/bitcoin/bin/bitcoin-cli -rpcwallet=yetiwalletrec getdescriptorinfo "pk(' + xpriv + ')"' )
82
82
xpub = response .split ('(' )[1 ].split (')' )[0 ]
You can’t perform that action at this time.
0 commit comments