Skip to content

Commit

Permalink
fix: slot finding error (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrun5 authored Nov 12, 2024
1 parent 618c07e commit b88961a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/evm/listener/handlers/hashi.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (h *HashiEventHandler) slotChild(slot *big.Int) (*big.Int, error) {
})
if err != nil {
// slot is missing and the child slot is the next one
if strings.Contains(err.Error(), "Not Found") {
if strings.Contains(err.Error(), "404") {
tries++
childSlot = new(big.Int).Add(childSlot, big.NewInt(1))
continue
Expand Down

0 comments on commit b88961a

Please sign in to comment.