Avoid to add Relay Chain Genesis Hash for Ethereum chain even if they are system parachain (#11884)
This commit is contained in:
parent
0b00fbf7c5
commit
28f6146d06
@ -168,7 +168,7 @@ async function loadOnReady (api: ApiPromise, endpoint: LinkOption | null, fork:
|
||||
// finally load the keyring
|
||||
isKeyringLoaded() || keyring.loadAll({
|
||||
genesisHash: api.genesisHash,
|
||||
genesisHashAdd: endpoint && isNumber(endpoint.paraId) && (endpoint.paraId < 2000) && endpoint.genesisHashRelay
|
||||
genesisHashAdd: !isEthereum && endpoint && isNumber(endpoint.paraId) && (endpoint.paraId < 2000) && endpoint.genesisHashRelay
|
||||
? [endpoint.genesisHashRelay]
|
||||
: [],
|
||||
isDevelopment,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user