From fb3e09c24ebbcb76aa3cfb921858788d0153ba8a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 5 Mar 2017 20:39:00 +0100 Subject: [PATCH] better error message if fee estimates are missing --- lib/wallet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wallet.py b/lib/wallet.py index eb4212c0..e7688131 100644 --- 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)