feat: remove commitment option from requestAirdrop

This commit is contained in:
Justin Starry
2020-06-11 00:10:25 +08:00
committed by Michael Vines
parent a9a19e2363
commit 24bb060292
6 changed files with 45 additions and 176 deletions

View File

@@ -49,11 +49,7 @@ test('create and query nonce account', async () => {
url,
{
method: 'requestAirdrop',
params: [
from.publicKey.toBase58(),
minimumAmount * 2,
{commitment: 'recent'},
],
params: [from.publicKey.toBase58(), minimumAmount * 2],
},
{
error: null,
@@ -168,11 +164,7 @@ test('create and query nonce account with seed', async () => {
url,
{
method: 'requestAirdrop',
params: [
from.publicKey.toBase58(),
minimumAmount * 2,
{commitment: 'recent'},
],
params: [from.publicKey.toBase58(), minimumAmount * 2],
},
{
error: null,