Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
c153bd40
Unverified
Commit
c153bd40
authored
May 03, 2022
by
nujabes403
Committed by
GitHub
May 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accounts: fix typo in comments (#24805)
parent
344d6f95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
errors.go
accounts/errors.go
+1
-2
hd.go
accounts/hd.go
+1
-1
No files found.
accounts/errors.go
View file @
c153bd40
...
...
@@ -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
...
...
accounts/hd.go
View file @
c153bd40
...
...
@@ -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 deriva
t
ion path.
//
// The BIP-32 spec https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki
// defines derivation paths to be of the form:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment