diff --git a/contractcourt/channel_arbitrator.go b/contractcourt/channel_arbitrator.go index ef1246f760..3404207b62 100644 --- a/contractcourt/channel_arbitrator.go +++ b/contractcourt/channel_arbitrator.go @@ -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) diff --git a/witness_beacon.go b/witness_beacon.go index fe78f3665f..6c315d0c18 100644 --- a/witness_beacon.go +++ b/witness_beacon.go @@ -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) {