Skip to content

Commit 76991be

Browse files
committed
updated infura url
1 parent 64442e8 commit 76991be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blockchain/initial_sale.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const FIXED_PRICE = 0.04;
1414

1515
let INFURA_URL = '';
1616
if (network === 'rinkeby') {
17-
INFURA_URL = 'https://rinkeby.infura.io/v3/';
17+
INFURA_URL = 'wss://rinkeby.infura.io/ws/v3/';
1818
} else {
19-
INFURA_URL = 'https://mainnet.infura.io/v3/';
19+
INFURA_URL = 'wss://mainnet.infura.io/ws/v3/';
2020
}
2121

2222
const provider = new HDWalletProvider(secrets['SEED_PHRASE'], INFURA_URL + secrets['API_KEY']);

0 commit comments

Comments
 (0)