fix: wait for airdrop (#538)

This commit is contained in:
Jack May 2019-10-29 01:09:51 -07:00 committed by Michael Vines
parent 67c9b50249
commit 29aabcb195
1 changed files with 1 additions and 0 deletions

View File

@ -793,6 +793,7 @@ export class Connection {
throw new Error(res.error.message);
}
assert(typeof res.result !== 'undefined');
await sleep(500);
return res.result;
}