Skip to content

Commit

Permalink
Remove unnecessary else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Jul 26, 2023
1 parent fc04ac8 commit 36929c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jmclient/jmclient/blockchaininterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,9 @@ def _estimate_fee_basic(self, conf_target: int) -> Optional[int]:
# the 'feerate' key is found and contains a positive value:
if estimate and estimate > 0:
return btc.btc_to_sat(estimate)
else: # cannot get a valid estimate after `tries` tries:
log.warn("Could not source a fee estimate from Core")
return None
# cannot get a valid estimate after `tries` tries:
log.warn("Could not source a fee estimate from Core")
return None

def get_current_block_height(self):
try:
Expand Down

0 comments on commit 36929c0

Please sign in to comment.