mirror of
https://github.com/waku-org/waku-rlnv1-contract.git
synced 2025-02-21 19:58:15 +00:00
deploy localhost uses provided RPC URL or default
This commit is contained in:
parent
8790db0669
commit
23549614ca
@ -35,14 +35,14 @@ const getNetworkConfig = (): NetworksUserConfig | undefined => {
|
||||
url: "http://localhost:8545",
|
||||
},
|
||||
};
|
||||
} else if (RPC_PROVIDER) {
|
||||
} else {
|
||||
const LOCALHOST_PROVIDER = RPC_PROVIDER || "http://localhost:8545";
|
||||
return {
|
||||
localhost_integration: {
|
||||
url: RPC_PROVIDER,
|
||||
url: LOCALHOST_PROVIDER,
|
||||
},
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
|
||||
// You need to export an object to set up your config
|
||||
|
Loading…
x
Reference in New Issue
Block a user