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