From b6e3d59e26e544dcbfde0d7b4823904fc834841f Mon Sep 17 00:00:00 2001 From: nujabes403 Date: Mon, 2 May 2022 23:45:56 +0900 Subject: [PATCH] accounts: fix typo in comments --- 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 727e5329befa..03cb569eba83 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 54acea3b261d..3009f19b6577 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: