fix build

This commit is contained in:
Drygin 2022-02-12 01:00:42 +03:00
parent d6919f2797
commit bb2e4186bf

View File

@ -64,7 +64,11 @@ const config = {
},
rinkeby: {
url: `https://rinkeby.infura.io/v3/${process.env.INFURA_API_KEY}`,
accounts: [process.env.PRIVATE_KEY],
accounts: process.env.PRIVATE_KEY
? [process.env.PRIVATE_KEY]
: {
mnemonic: 'test test test test test test test test test test test junk',
},
},
xdai: {
url: process.env.ETH_RPC || 'https://rpc.xdaichain.com/',