fix: account change test broken on beta testnet
This commit is contained in:
parent
7682f55347
commit
56cad06568
|
@ -844,7 +844,10 @@ test('account change notification', async () => {
|
|||
mockCallback,
|
||||
);
|
||||
|
||||
const balanceNeeded = await connection.getMinimumBalanceForRentExemption(0);
|
||||
const balanceNeeded = Math.max(
|
||||
await connection.getMinimumBalanceForRentExemption(0),
|
||||
1,
|
||||
);
|
||||
|
||||
await connection.requestAirdrop(owner.publicKey, SOL_LAMPORTS);
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue