Fixed quicknode property for defaultProvider (#3741).
This commit is contained in:
parent
085a9054f3
commit
a8afb72fbb
@ -87,7 +87,7 @@ export function getDefaultProvider(network: string | Networkish | WebSocketLike,
|
|||||||
*/
|
*/
|
||||||
if (options.quicknode !== "-") {
|
if (options.quicknode !== "-") {
|
||||||
try {
|
try {
|
||||||
let token = options.qquicknode;
|
let token = options.quicknode;
|
||||||
providers.push(new QuickNodeProvider(network, token));
|
providers.push(new QuickNodeProvider(network, token));
|
||||||
} catch (error) { console.log(error); }
|
} catch (error) { console.log(error); }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user