Skip to content

Commit 273422e

Browse files
committed
chore: fix some comments for struct field
Signed-off-by: longxiangqiao <[email protected]>
1 parent b480594 commit 273422e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

interface.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ type LoopInSwapInfo struct { // nolint
318318
// HtlcAddressP2TR contains the v3 (pay to taproot) htlc address.
319319
HtlcAddressP2TR btcutil.Address
320320

321-
// ServerMessages is the human-readable message received from the loop
321+
// ServerMessage is the human-readable message received from the loop
322322
// server.
323323
ServerMessage string
324324
}
@@ -333,7 +333,7 @@ type LoopOutSwapInfo struct { // nolint:revive
333333
// publish to.
334334
HtlcAddress btcutil.Address
335335

336-
// ServerMessages is the human-readable message received from the loop
336+
// ServerMessage is the human-readable message received from the loop
337337
// server.
338338
ServerMessage string
339339
}
@@ -354,7 +354,7 @@ type SwapInfo struct {
354354

355355
loopdb.SwapContract
356356

357-
// LastUpdateTime is the time of the last state change.
357+
// LastUpdate is the time of the last state change.
358358
LastUpdate time.Time
359359

360360
// SwapHash stores the swap preimage hash.

liquidity/autoloop_testcontext_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type autoloopTestCtx struct {
3030
lnd *test.LndMockServices
3131
testClock *clock.TestClock
3232

33-
// quoteRequests is a channel that requests for quotes are pushed into.
33+
// quoteRequest is a channel that requests for quotes are pushed into.
3434
quoteRequest chan *loop.LoopOutQuoteRequest
3535

3636
// quotes is a channel that we get loop out quote requests on.

0 commit comments

Comments
 (0)