Unverified Commit bfb5bc03 authored by Thibaut Sardan's avatar Thibaut Sardan Committed by GitHub
Browse files

Ethereum accountId should have a 0x (#336)

* fix: ethereum accountId

* fix: remove unrelated
parent 4b60be60
......@@ -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}`;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment