Skip to content

Commit d184f62

Browse files
authored
chore: fix typos in docs (#13363)
1 parent a313950 commit d184f62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

chain/lf3/participation_lease.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (l *leaser) getParticipantsByInstance(network gpbft.NetworkName, instance u
131131
for id, lease := range l.leases {
132132
if _, err := l.validateLease(currentNetwork, instance, lease); err != nil {
133133
// Lazily clear old leases.
134-
log.Warnf("lost F3 participation lease for miner %d at instance %d since it is no loger valid: %v ", id, instance, err)
134+
log.Warnf("lost F3 participation lease for miner %d at instance %d since it is no longer valid: %v ", id, instance, err)
135135
delete(l.leases, id)
136136
} else {
137137
participants = append(participants, id)
@@ -148,7 +148,7 @@ func (l *leaser) getValidLeases() []api.F3ParticipationLease {
148148
for id, lease := range l.leases {
149149
// Lazily clear old leases.
150150
if validatedLease, err := l.validateLease(currentManifest.NetworkName, progress.ID, lease); err != nil {
151-
log.Warnf("lost F3 participation lease for miner %d at instance %d while getting valid leases since it is no loger valid: %v ", id, progress.ID, err)
151+
log.Warnf("lost F3 participation lease for miner %d at instance %d while getting valid leases since it is no longer valid: %v ", id, progress.ID, err)
152152
delete(l.leases, id)
153153
} else {
154154
leases = append(leases, validatedLease)

chain/vm/gas_v0.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func (pl *pricelistV0) OnComputeUnsealedSectorCid(proofType abi.RegisteredSealPr
207207

208208
// OnVerifySeal
209209
func (pl *pricelistV0) OnVerifySeal(info proof7.SealVerifyInfo) GasCharge {
210-
// TODO: this needs more cost tunning, check with @lotus
210+
// TODO: this needs more cost tuning, check with @lotus
211211
// this is not used
212212
return newGasCharge("OnVerifySeal", pl.verifySealBase, 0)
213213
}

0 commit comments

Comments
 (0)