self.give_error(_("This {} device can only send to base58 addresses.").format(self.device))
self.give_error(_("This {} device can only send to base58 addresses.").format(keystore.device))
ifnottxout.address:
ifself.is_hw1():
self.give_error(_("Only address outputs are supported by {}").format(self.device))
self.give_error(_("Only address outputs are supported by {}").format(keystore.device))
# note: max_size based on https://github.com/LedgerHQ/ledger-app-btc/commit/3a78dee9c0484821df58975803e40d58fbfc2c38#diff-c61ccd96a6d8b54d48f54a3bc4dfa7e2R26
validate_op_return_output(txout,max_size=190)
@ -1343,8 +1341,8 @@ class LedgerPlugin(HW_PluginBase):