fix: referenced filename
This commit is contained in:
parent
93814cc85a
commit
5848877734
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user