chore: fix some function names (#12031)

This commit is contained in:
yumeiyin
2024-05-24 11:34:03 +10:00
committed by GitHub
parent 9983c466ec
commit 4088706697
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ func (e *ethSubscription) addFilter(ctx context.Context, f filter.Filter) {
e.filters = append(e.filters, f)
}
// sendOut processes the final subscription queue. It's here in case the subscriber
// startOut processes the final subscription queue. It's here in case the subscriber
// is slow, and we need to buffer the messages.
func (e *ethSubscription) startOut(ctx context.Context) {
for {
+1 -1
View File
@@ -1624,7 +1624,7 @@ func (a *StateAPI) StateMinerSectorAllocated(ctx context.Context, maddr address.
return mas.IsAllocated(s)
}
// StateVerifiedClientStatus returns the data cap for the given address.
// StateVerifierStatus returns the data cap for the given address.
// Returns zero if there is no entry in the data cap table for the
// address.
func (a *StateAPI) StateVerifierStatus(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*abi.StoragePower, error) {