Skip to content

Commit aa4d171

Browse files
fix: update explorer URL extraction to use nested blockchain structure in solana_response
1 parent b0ba9f9 commit aa4d171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
def extract_solana_explorer_url(solana_response: dict) -> str:
22
# alteração: função isolada para extrair a URL do explorer da resposta do serviço
3-
explorer_url = solana_response.get("explorer_url", "")
3+
explorer_url = solana_response.get("blockchain", {}).get("explorer_url", "")
44
return explorer_url
55

66

0 commit comments

Comments
 (0)