Fix creating open orders account logic

This commit is contained in:
Nathaniel Parke 2021-05-11 16:59:38 +08:00
parent 7422d04e2f
commit 456539ce90
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ export default function SwapWormholeDialog({
// If we have an open orderes account use it. It doesn't matter which
// one we use.
const addr = openOrders[0] ? openOrders[0].address : undefined;
return [addr, addr !== undefined];
return [addr, addr === undefined];
})();
let signers = [];