Merge pull request #792 from longxiangqiao/master

chore: fix some comments for struct field
This commit is contained in:
Slyghtning 2024-07-14 20:22:49 +02:00 committed by GitHub
commit 424ed2c000
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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.