From c153bd40d7f14550afc89dafec0e8d16a8fb8489 Mon Sep 17 00:00:00 2001 From: nujabes403 Date: Tue, 3 May 2022 15:49:41 +0900 Subject: [PATCH] accounts: fix typo in comments (#24805) --- accounts/errors.go | 3 +-- accounts/hd.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/accounts/errors.go b/accounts/errors.go index 727e5329b..03cb569eb 100644 --- a/accounts/errors.go +++ b/accounts/errors.go @@ -41,8 +41,7 @@ var ErrInvalidPassphrase = errors.New("invalid password") // second time. var ErrWalletAlreadyOpen = errors.New("wallet already open") -// ErrWalletClosed is returned if a wallet is attempted to be opened the -// second time. +// ErrWalletClosed is returned if a wallet is offline. var ErrWalletClosed = errors.New("wallet closed") // AuthNeededError is returned by backends for signing requests where the user diff --git a/accounts/hd.go b/accounts/hd.go index 54acea3b2..3009f19b6 100644 --- a/accounts/hd.go +++ b/accounts/hd.go @@ -41,7 +41,7 @@ var DefaultBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60, var LegacyLedgerBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60, 0x80000000 + 0, 0} // DerivationPath represents the computer friendly version of a hierarchical -// deterministic wallet account derivaion path. +// deterministic wallet account derivation path. // // The BIP-32 spec https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki // defines derivation paths to be of the form: