Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions wallet/addresses.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2025 The Decred developers
// Copyright (c) 2017-2026 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -843,7 +843,7 @@ func (w *Wallet) BIP0044BranchNextIndexes(ctx context.Context, account uint32) (
// BIP00044 account branch. The next returned address for the branch will be
// child+1.
func (w *Wallet) SyncLastReturnedAddress(ctx context.Context, account, branch, child uint32) error {
const op errors.Op = "wallet.ExtendWatchedAddresses"
const op errors.Op = "wallet.SyncLastReturnedAddress"

var (
branchXpub *hdkeychain.ExtendedKey
Expand All @@ -860,7 +860,7 @@ func (w *Wallet) SyncLastReturnedAddress(ctx context.Context, account, branch, c
var alb *addressBuffer
switch branch {
case udb.ExternalBranch:
alb = &acctData.albInternal
alb = &acctData.albExternal
case udb.InternalBranch:
alb = &acctData.albInternal
default:
Expand Down
Loading