feat: allow setting explicit fee payer for transaction (#13129)

This commit is contained in:
Justin Starry
2020-10-25 09:59:38 +08:00
committed by GitHub
parent 0cc9c94c43
commit 6e13dbe206
7 changed files with 225 additions and 90 deletions

View File

@ -198,8 +198,8 @@ test('get program accounts', async () => {
},
]);
if (transaction.recentBlockhash === null) {
expect(transaction.recentBlockhash).not.toBeNull();
if (!transaction.recentBlockhash) {
expect(transaction.recentBlockhash).toBeTruthy();
return;
}