Skip to content

Commit c153bd4

Browse files
authored
accounts: fix typo in comments (ethereum#24805)
1 parent 344d6f9 commit c153bd4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

accounts/errors.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ var ErrInvalidPassphrase = errors.New("invalid password")
4141
// second time.
4242
var ErrWalletAlreadyOpen = errors.New("wallet already open")
4343

44-
// ErrWalletClosed is returned if a wallet is attempted to be opened the
45-
// second time.
44+
// ErrWalletClosed is returned if a wallet is offline.
4645
var ErrWalletClosed = errors.New("wallet closed")
4746

4847
// AuthNeededError is returned by backends for signing requests where the user

accounts/hd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var DefaultBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60,
4141
var LegacyLedgerBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60, 0x80000000 + 0, 0}
4242

4343
// DerivationPath represents the computer friendly version of a hierarchical
44-
// deterministic wallet account derivaion path.
44+
// deterministic wallet account derivation path.
4545
//
4646
// The BIP-32 spec https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
4747
// defines derivation paths to be of the form:

0 commit comments

Comments
 (0)