PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/viem/_cjs/actions/test
Просмотр файла: getAutomine.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAutomine = getAutomine;
async function getAutomine(client) {
if (client.mode === 'ganache')
return await client.request({
method: 'eth_mining',
});
return await client.request({
method: `${client.mode}_getAutomine`,
});
}
//# sourceMappingURL=getAutomine.js.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!