fix: referenced filename

This commit is contained in:
Mitch Wagner 2020-08-31 19:29:43 -04:00 committed by GitHub
parent 93814cc85a
commit 5848877734
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)