diff --git a/libwallet/assets/dcr/log.go b/libwallet/assets/dcr/log.go index 8daa4b1d2..e17a9a0d3 100644 --- a/libwallet/assets/dcr/log.go +++ b/libwallet/assets/dcr/log.go @@ -12,7 +12,7 @@ import ( var log = slog.Disabled -// UseLoggers sets the subsystem logs to use the provided loggers. +// UseLogger sets the subsystem logs to use the provided loggers. func UseLogger(logger slog.Logger) { log = logger loader.UseLogger(logger) diff --git a/libwallet/assets/ltc/dex-wallet.go b/libwallet/assets/ltc/dex-wallet.go index aa2160829..048ea09e2 100644 --- a/libwallet/assets/ltc/dex-wallet.go +++ b/libwallet/assets/ltc/dex-wallet.go @@ -1045,7 +1045,7 @@ func confirms(txHeight, curHeight int32) int32 { } } -// accountInfo returns the account name of the wallet. +// accountName returns the account name of the wallet. func (dw *DEXWallet) accountName() string { accountName, err := dw.w.AccountName(GetScope(), uint32(dw.acctNum)) if err == nil { diff --git a/libwallet/assets/wallet/wallet_shared.go b/libwallet/assets/wallet/wallet_shared.go index 7ae51c2e0..70357f83a 100644 --- a/libwallet/assets/wallet/wallet_shared.go +++ b/libwallet/assets/wallet/wallet_shared.go @@ -368,7 +368,7 @@ func (wallet *Wallet) EnableSyncShuttingDown() { wallet.isSyncShuttingDown.Store(true) } -// EnableSyncShuttingDown marks the end of the sync shutdown process. +// EndSyncShuttingDown marks the end of the sync shutdown process. func (wallet *Wallet) EndSyncShuttingDown() { wallet.isSyncShuttingDown.Store(false) }