Allow to run with isDevelopment on ethereum-like chains (#9227)
Currently any `isEthereum==true` chain will force the development mode off, making it impossible to add any extra types as needed.
This commit is contained in:
parent
897e9de8ad
commit
c38d3d8b3c
@ -187,7 +187,7 @@ async function loadOnReady (api: ApiPromise, endpoint: LinkOption | null, inject
|
||||
chainSS58,
|
||||
hasInjectedAccounts: injectedAccounts.length !== 0,
|
||||
isApiReady: true,
|
||||
isDevelopment: isEthereum ? false : isDevelopment,
|
||||
isDevelopment,
|
||||
isEthereum,
|
||||
specName: api.runtimeVersion.specName.toString(),
|
||||
specVersion: api.runtimeVersion.specVersion.toString(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user