1
0

fix #3189: do not silence exceptions in get_xpub

This commit is contained in:
ThomasV
2017-11-03 10:32:16 +01:00
parent b379234440
commit 70d23f9e3b
3 changed files with 30 additions and 33 deletions

View File

@@ -85,10 +85,12 @@ class DigitalBitbox_Client():
def get_xpub(self, bip32_path, xtype):
assert xpub == 'standard'
assert xtype == 'standard'
reply = self._get_xpub(bip32_path)
if reply:
return reply['xpub']
else:
raise BaseException('no reply')
def dbb_has_password(self):