feat: add singleGossip commitment level

This commit is contained in:
Tyera Eulberg
2020-05-26 15:17:35 -06:00
committed by Michael Vines
parent ed08c25d2d
commit e2e4b47103
4 changed files with 6 additions and 5 deletions

View File

@ -1056,7 +1056,7 @@ test('get confirmed block', async () => {
test('get recent blockhash', async () => {
const connection = new Connection(url);
for (const commitment of ['max', 'recent', 'root', 'single']) {
for (const commitment of ['max', 'recent', 'root', 'single', 'singleGossip']) {
mockGetRecentBlockhash(commitment);
const {blockhash, feeCalculator} = await connection.getRecentBlockhash(