Merge pull request #3436 from mitchwagner/patch-2

fix: referenced filename
This commit is contained in:
Łukasz Magiera 2020-09-01 11:09:26 +02:00 committed by GitHub
commit b8bbbf3ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ The necessary permissions for each are in [api/struct.go](https://github.com/fil
## How do I make an API request?
To demonstrate making an API request, we will take the method `ChainHead` from [api/api.go](https://github.com/filecoin-project/lotus/blob/master/api/api_full.go).
To demonstrate making an API request, we will take the method `ChainHead` from [api/api_full.go](https://github.com/filecoin-project/lotus/blob/master/api/api_full.go).
```go
ChainHead(context.Context) (*types.TipSet, error)