Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
bfb5bc03
Unverified
Commit
bfb5bc03
authored
Aug 27, 2019
by
Thibaut Sardan
Committed by
GitHub
Aug 27, 2019
Browse files
Ethereum accountId should have a 0x (#336)
* fix: ethereum accountId * fix: remove unrelated
parent
4b60be60
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/account.js
View file @
bfb5bc03
...
...
@@ -14,7 +14,7 @@ export function accountId({
if
(
protocol
===
NetworkProtocols
.
SUBSTRATE
){
return
`
${
protocol
}
:
${
address
}
:
${
genesisHash
}
`
;
}
else
{
return
`
${
protocol
}
:
${
address
.
toLowerCase
()}
@
${
ethereumChainId
}
`
;
return
`
${
protocol
}
:
0x
${
address
.
toLowerCase
()}
@
${
ethereumChainId
}
`
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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