Skip to content

Commit

Permalink
accounts: fix typo in comments (ethereum#24805)
Browse files Browse the repository at this point in the history
  • Loading branch information
nujabes403 authored and jagdeep sidhu committed May 5, 2022
1 parent d067d37 commit febadf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions accounts/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion accounts/hd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit febadf9

Please sign in to comment.