Skip to content

Commit 4d8fa34

Browse files
authored
Merge pull request #8303 from AtomicInnovation321/master
docs: fix typos
2 parents 30348ba + b72fc95 commit 4d8fa34

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

channeldb/invoices.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ func (d *DB) DeleteCanceledInvoices(_ context.Context) error {
28122812

28132813
// DeleteInvoice attempts to delete the passed invoices from the database in
28142814
// one transaction. The passed delete references hold all keys required to
2815-
// delete the invoices without also needing to deserialze them.
2815+
// delete the invoices without also needing to deserialize them.
28162816
func (d *DB) DeleteInvoice(_ context.Context,
28172817
invoicesToDelete []invpkg.InvoiceDeleteRef) error {
28182818

feature/deps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func initSupported(features featureSet) supportedFeatures {
143143
}
144144

145145
// mapToOptional returns the optional variant of a given feature bit pair. Our
146-
// dependendency graph is described using only optional feature bits, which
146+
// dependency graph is described using only optional feature bits, which
147147
// reduces the number of constraints we need to express in the descriptor.
148148
func mapToOptional(bit lnwire.FeatureBit) lnwire.FeatureBit {
149149
if bit.IsRequired() {

input/taproot_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func TestTaprootSenderHtlcSpend(t *testing.T) {
287287

288288
// Valid spend with the revocation key, sighash all.
289289
{
290-
name: "revocation spend vaild sighash all",
290+
name: "revocation spend valid sighash all",
291291
witnessGen: htlcSenderRevocationWitnessGen(
292292
txscript.SigHashAll, htlcScriptTree,
293293
),
@@ -296,7 +296,7 @@ func TestTaprootSenderHtlcSpend(t *testing.T) {
296296

297297
// Valid spend with the revocation key, sighash default.
298298
{
299-
name: "revocation spend vaild sighash default",
299+
name: "revocation spend valid sighash default",
300300
witnessGen: htlcSenderRevocationWitnessGen(
301301
txscript.SigHashDefault, htlcScriptTree,
302302
),
@@ -306,7 +306,7 @@ func TestTaprootSenderHtlcSpend(t *testing.T) {
306306
// Valid spend with the revocation key, sighash single+anyone
307307
// can pay.
308308
{
309-
name: "revocation spend vaild sighash " +
309+
name: "revocation spend valid sighash " +
310310
"single|anyonecanpay",
311311
witnessGen: htlcSenderRevocationWitnessGen(
312312
txscript.SigHashSingle|

invoices/interface.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type InvoiceDB interface {
7777
// DeleteInvoice attempts to delete the passed invoices from the
7878
// database in one transaction. The passed delete references hold all
7979
// keys required to delete the invoices without also needing to
80-
// deserialze them.
80+
// deserialize them.
8181
DeleteInvoice(ctx context.Context,
8282
invoicesToDelete []InvoiceDeleteRef) error
8383

peer/brontide.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2883,7 +2883,7 @@ func (p *Brontide) createChanCloser(channel *lnwallet.LightningChannel,
28832883
return nil, fmt.Errorf("cannot obtain best block")
28842884
}
28852885

2886-
// The req will only be set if we initaited the co-op closing flow.
2886+
// The req will only be set if we initiated the co-op closing flow.
28872887
var maxFee chainfee.SatPerKWeight
28882888
if req != nil {
28892889
maxFee = req.MaxFee

rpcserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ func (r *rpcServer) parseOpenChannelReq(in *lnrpc.OpenChannelRequest,
19321932
// if both are set.
19331933
if in.FundingShim != nil && in.FundMax {
19341934
return nil, fmt.Errorf("cannot provide a psbt funding shim " +
1935-
"while committing the maxium wallet balance towards " +
1935+
"while committing the maximum wallet balance towards " +
19361936
"the channel opening")
19371937
}
19381938

0 commit comments

Comments
 (0)