From 452b2d5a80e928c198c35c45011ec0e742a5dfab Mon Sep 17 00:00:00 2001 From: Afanti <127061691+threewebcode@users.noreply.github.com> Date: Thu, 4 Jan 2024 04:47:03 +0800 Subject: [PATCH] fix: remove duplicate words [skip ci] There are some unnecessary duplicate words in the source file. Use this change to remove them. The CI can be skipped. --- lnwallet/wallet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index 5f0748097..497b89129 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -741,7 +741,7 @@ func (l *LightningWallet) PsbtFundingVerify(pendingChanID [32]byte, "reservation ID %v", pid) } - // Now the the PSBT has been populated and verified, we can again check + // Now the PSBT has been populated and verified, we can again check // whether the value reserved for anchor fee bumping is respected. isPublic := pendingReservation.partialState.ChannelFlags&lnwire.FFAnnounceChannel != 0 hasAnchors := pendingReservation.partialState.ChanType.HasAnchors() @@ -1145,7 +1145,7 @@ func (l *LightningWallet) CurrentNumAnchorChans() (int, error) { // CheckReservedValue checks whether publishing a transaction with the given // inputs and outputs would violate the value we reserve in the wallet for // bumping the fee of anchor channels. The numAnchorChans argument should be -// set the the number of open anchor channels controlled by the wallet after +// set the number of open anchor channels controlled by the wallet after // the transaction has been published. // // If the reserved value is violated, the returned error will be