aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-10-19 21:40:10 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-10-19 21:40:10 +0800
commit6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b (patch)
treed933f00fa86af64468b1efeb91409f14895edecd /accounts
parentd98c45f70f5c9e414193ff4f79fbfc04a3d7751f (diff)
downloaddexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar.gz
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar.bz2
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar.lz
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar.xz
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.tar.zst
dexon-6ff97bf2e5623d3f6eb09e2630c3fdbd770acf0b.zip
accounts: wallet derivation path comment is mistaken (#17934)
Diffstat (limited to 'accounts')
-rw-r--r--accounts/hd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/hd.go b/accounts/hd.go
index 277f688e4..6ed631807 100644
--- a/accounts/hd.go
+++ b/accounts/hd.go
@@ -30,8 +30,8 @@ import (
var DefaultRootDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60, 0x80000000 + 0, 0}
// DefaultBaseDerivationPath is the base path from which custom derivation endpoints
-// are incremented. As such, the first account will be at m/44'/60'/0'/0, the second
-// at m/44'/60'/0'/1, etc.
+// are incremented. As such, the first account will be at m/44'/60'/0'/0/0, the second
+// at m/44'/60'/0'/0/1, etc.
var DefaultBaseDerivationPath = DerivationPath{0x80000000 + 44, 0x80000000 + 60, 0x80000000 + 0, 0, 0}
// DefaultLedgerBaseDerivationPath is the base path from which custom derivation endpoints