bridge env generic

This commit is contained in:
Moon Man 2023-08-20 09:56:05 -04:00
parent 5f95b7d3ac
commit a03053efa1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const env = process.env.NODE_ENV || "local";
dotenv.config({ path: `.env.${env}` });
async function main() {
if (!process.env.BASE_BRIDGE_ADDRESS) throw "Bridge address not defined";
if (!process.env.BRIDGE_ADDRESS) throw "Bridge address not defined";
if (!process.env.TOKEN_NAME) throw "Token name not defined";
if (!process.env.TOKEN_SYMBOL) throw "Token symbol not defined";