@metamask-previews/network-controller 25.0.0-preview-8315c2ec → 25.0.0-preview-4419d7e4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1236,8 +1236,6 @@ async function _NetworkController_lookupSelectedNetwork() {
|
|
|
1236
1236
|
return new Promise((resolve, reject) => {
|
|
1237
1237
|
ethQuery.sendAsync({ method: 'eth_getBlockByNumber', params: ['latest', false] }, (error, block) => {
|
|
1238
1238
|
if (error) {
|
|
1239
|
-
// This error comes from JsonRpcEngine, we don't control it.
|
|
1240
|
-
// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
|
|
1241
1239
|
reject(error);
|
|
1242
1240
|
}
|
|
1243
1241
|
else {
|