Skip to content

Commit 8a075a0

Browse files
authored
Merge pull request #4224 from stacks-network/fix/fee-estimate
Fix fee estimate
2 parents 9fe5950 + 2d7f9ed commit 8a075a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/side-cars/fee-estimate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
FEE_ESTIMATIONS = [
2424
# Bitcoiner Live API
2525
(
26-
'https://bitcoiner.live/api/fees/estimates/latest',
26+
'https://bitcoiner.live/api/fees/estimates/latest?confidence=0.9',
2727
lambda response_json: response_json["estimates"]["30"]["sat_per_vbyte"],
2828
),
2929

@@ -139,7 +139,7 @@ def update_config_fee(toml_file_location: str, polling_delay_seconds: int):
139139
with open(toml_file_location, 'w') as toml_file:
140140
toml.dump(toml_data, toml_file)
141141

142-
time.sleep()
142+
time.sleep(polling_delay_seconds)
143143

144144
def read_config(config_location: str):
145145
"""

0 commit comments

Comments
 (0)