Merge pull request #9319 from thirdkeyword/master

chore: fix some problematic method name in comment
This commit is contained in:
Oliver Gugger 2024-12-19 08:30:39 +01:00 committed by GitHub
commit 7544a2b232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ type WitnessBeacon interface {
payload *hop.Payload,
nextHopOnionBlob []byte) (*WitnessSubscription, error)
// LookupPreImage attempts to lookup a preimage in the global cache.
// LookupPreimage attempts to lookup a preimage in the global cache.
// True is returned for the second argument if the preimage is found.
LookupPreimage(payhash lntypes.Hash) (lntypes.Preimage, bool)

View File

@ -119,7 +119,7 @@ func (p *preimageBeacon) SubscribeUpdates(
return sub, nil
}
// LookupPreImage attempts to lookup a preimage in the global cache. True is
// LookupPreimage attempts to lookup a preimage in the global cache. True is
// returned for the second argument if the preimage is found.
func (p *preimageBeacon) LookupPreimage(
payHash lntypes.Hash) (lntypes.Preimage, bool) {