eth: formatted error nit (#25499)

pull/25506/head
aaronbuchwald 2 years ago committed by GitHub
parent e4b3bd6f26
commit 759d795c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/api.go

@ -586,5 +586,5 @@ func (api *DebugAPI) GetAccessibleState(from, to rpc.BlockNumber) (uint64, error
return uint64(i), nil
}
}
return 0, fmt.Errorf("no state found")
return 0, errors.New("no state found")
}

Loading…
Cancel
Save