1
0

do not raise BaseException

This commit is contained in:
SomberNight
2018-04-07 17:10:30 +02:00
parent 76e67daadd
commit 7b50790584
21 changed files with 53 additions and 53 deletions

View File

@@ -344,7 +344,7 @@ class KeepKeyCompatiblePlugin(HW_PluginBase):
elif addrtype == constants.net.ADDRTYPE_P2SH:
txoutputtype.script_type = self.types.PAYTOSCRIPTHASH
else:
raise BaseException('addrtype: ' + str(addrtype))
raise Exception('addrtype: ' + str(addrtype))
txoutputtype.address = address
return txoutputtype