From 29aabcb195e2bc815f7c7495298569b226bc6d94 Mon Sep 17 00:00:00 2001 From: Jack May Date: Tue, 29 Oct 2019 01:09:51 -0700 Subject: [PATCH] fix: wait for airdrop (#538) --- web3.js/src/connection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index e118ab00ed..9d5029d55e 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -793,6 +793,7 @@ export class Connection { throw new Error(res.error.message); } assert(typeof res.result !== 'undefined'); + await sleep(500); return res.result; }