kopia lustrzana https://github.com/bugout-dev/moonstream
Merge pull request #998 from moonstream-to/fix-starknet-nb-latest
Fix starknet goerli latest check for nbpull/999/head
commit
c95ba1e50c
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue