chore: fix some comments for struct field

Signed-off-by: longxiangqiao <longxiangqiao@qq.com>
pull/792/head
longxiangqiao 3 months ago
parent b48059482d
commit 273422eef7

@ -318,7 +318,7 @@ type LoopInSwapInfo struct { // nolint
// HtlcAddressP2TR contains the v3 (pay to taproot) htlc address.
HtlcAddressP2TR btcutil.Address
// ServerMessages is the human-readable message received from the loop
// ServerMessage is the human-readable message received from the loop
// server.
ServerMessage string
}
@ -333,7 +333,7 @@ type LoopOutSwapInfo struct { // nolint:revive
// publish to.
HtlcAddress btcutil.Address
// ServerMessages is the human-readable message received from the loop
// ServerMessage is the human-readable message received from the loop
// server.
ServerMessage string
}
@ -354,7 +354,7 @@ type SwapInfo struct {
loopdb.SwapContract
// LastUpdateTime is the time of the last state change.
// LastUpdate is the time of the last state change.
LastUpdate time.Time
// SwapHash stores the swap preimage hash.

@ -30,7 +30,7 @@ type autoloopTestCtx struct {
lnd *test.LndMockServices
testClock *clock.TestClock
// quoteRequests is a channel that requests for quotes are pushed into.
// quoteRequest is a channel that requests for quotes are pushed into.
quoteRequest chan *loop.LoopOutQuoteRequest
// quotes is a channel that we get loop out quote requests on.

Loading…
Cancel
Save