Skip to content

Commit 33e39cb

Browse files
authored
Merge pull request #87 from voyager1708/feature/auth/certificates-port
refactor(chaintrackers): update imports to absolute paths and clean u…
2 parents 59bd409 + 1d2038c commit 33e39cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bsv/chaintrackers/whatsonchain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Optional, Dict
22

3-
from ..chaintracker import ChainTracker
4-
from ..http_client import HttpClient, default_http_client
3+
from bsv.chaintracker import ChainTracker
4+
from bsv.http_client import HttpClient, default_http_client
55

66

77
class WhatsOnChainTracker(ChainTracker):
@@ -30,7 +30,7 @@ async def is_valid_root_for_height(self, root: str, height: int) -> bool:
3030
elif response.status_code == 404:
3131
return False
3232
else:
33-
raise Exception(
33+
raise RuntimeError(
3434
f"Failed to verify merkleroot for height {height} because of an error: {response.json()}"
3535
)
3636

0 commit comments

Comments
 (0)