Browse Source

example: Fix typo in test (#416)

Sarat Limawongpranee 4 years ago
parent
commit
5aaa4499f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/swap/tests/utils/index.js

+ 1 - 1
examples/swap/tests/utils/index.js

@@ -464,7 +464,7 @@ async function signTransactions({
       wallet.publicKey,
       ...signers.map((s) => s.publicKey)
     );
-    if (signers?.length > 0) {
+    if (signers.length > 0) {
       transaction.partialSign(...signers);
     }
   });