1
0

config: (trivial) add some type hints and rm unused variable

This commit is contained in:
SomberNight
2021-04-15 19:00:46 +02:00
parent f53f177203
commit 7ffb2c3cb0
3 changed files with 12 additions and 11 deletions

View File

@@ -534,7 +534,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):
return {}
return self.interface.fee_estimates_eta
def update_fee_estimates(self, *, fee_est: Dict = None):
def update_fee_estimates(self, *, fee_est: Dict[int, int] = None):
if fee_est is None:
fee_est = self.get_fee_estimates()
for nblock_target, fee in fee_est.items():