Merge pull request #998 from moonstream-to/fix-starknet-nb-latest

Fix starknet goerli latest check for nb
pull/999/head
Sergei Sumarokov 2024-01-23 09:46:34 +03:00 zatwierdzone przez GitHub
commit c95ba1e50c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -241,7 +241,7 @@ func (bpool *BlockchainPool) HealthCheck() {
}
var blockNumber uint64
if b.Blockchain == "starknet" {
if b.Blockchain == "starknet" || b.Blockchain == "starknet-goerli" {
blockNumber = statusResponse.Result.BlockNumber
} else {
blockNumberHex := strings.Replace(statusResponse.Result.Number, "0x", "", -1)