Fixed quicknode property for defaultProvider (#3741).

This commit is contained in:
Richard Moore 2023-02-16 09:45:28 -05:00
parent 085a9054f3
commit a8afb72fbb

@ -87,7 +87,7 @@ export function getDefaultProvider(network: string | Networkish | WebSocketLike,
*/
if (options.quicknode !== "-") {
try {
let token = options.qquicknode;
let token = options.quicknode;
providers.push(new QuickNodeProvider(network, token));
} catch (error) { console.log(error); }
}