Skip to content

Commit 93661c8

Browse files
committed
Interface comments.
1 parent 43a6251 commit 93661c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spv/backend.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2018-2024 The Decred developers
1+
// Copyright (c) 2018-2025 The Decred developers
22
// Use of this source code is governed by an ISC
33
// license that can be found in the LICENSE file.
44

@@ -24,6 +24,7 @@ import (
2424
"golang.org/x/sync/errgroup"
2525
)
2626

27+
// Ensure Syncer implements the wallet.NetworkBackend interface.
2728
var _ wallet.NetworkBackend = (*Syncer)(nil)
2829

2930
// TODO: When using the Syncer as a NetworkBackend, keep track of in-flight

wallet/addresses.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ type xpubAddress struct {
270270
child uint32
271271
}
272272

273+
// Ensure xpubAddress implements the BIP0044Address and stakeAddress interfaces.
273274
var _ BIP0044Address = (*xpubAddress)(nil)
274275
var _ stakeAddress = (*xpubAddress)(nil)
275276

0 commit comments

Comments
 (0)