tkivy: on tx broadcast, truncate error message - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 861640949e479689aeb9d30121ba1f9ddb40ae71 DIR parent c9c8b7656d3ceb5d4d26ae443cb2ad5eaab064d0 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 31 Jul 2018 14:03:08 +0200 kivy: on tx broadcast, truncate error message related #4593 Diffstat: M electrum/gui/kivy/main_window.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py t@@ -886,6 +886,7 @@ class ElectrumWindow(App): self.wallet.invoices.save() self.update_tab('invoices') else: + msg = msg[:500] if msg else _('There was an error broadcasting the transaction.') self.show_error(msg) if self.network and self.network.is_connected():