commit fb3e09c24ebbcb76aa3cfb921858788d0153ba8a parent eb7f9c98ce328f15866ab8fca0d58e8a4091b391 Author: ThomasV <thomasv@electrum.org> Date: Sun, 5 Mar 2017 20:39:00 +0100 better error message if fee estimates are missing Diffstat:
M | lib/wallet.py | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py @@ -804,6 +804,9 @@ class Abstract_Wallet(PrintError): if not inputs: raise NotEnoughFunds() + if fixed_fee is None and config.fee_per_kb() is None: + raise BaseException('Dynamic fee estimates not available') + for item in inputs: self.add_input_info(item)