mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
fixup! fixup! perf: use strings.Builder
This commit is contained in:
parent
c9dd414f3c
commit
ef9eeba34d
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ func (path DerivationPath) String() string {
|
||||||
component -= 0x80000000
|
component -= 0x80000000
|
||||||
hardened = true
|
hardened = true
|
||||||
}
|
}
|
||||||
result = fmt.Sprintf("%s/%d", result, component)
|
resultSb124.WriteString(fmt.Sprintf("/%d", component))
|
||||||
if hardened {
|
if hardened {
|
||||||
resultSb124.WriteString("'")
|
resultSb124.WriteString("'")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue