better error message if fee estimates are missing
This commit is contained in:
@@ -804,6 +804,9 @@ class Abstract_Wallet(PrintError):
|
|||||||
if not inputs:
|
if not inputs:
|
||||||
raise NotEnoughFunds()
|
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:
|
for item in inputs:
|
||||||
self.add_input_info(item)
|
self.add_input_info(item)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user