Fix creating open orders account logic
This commit is contained in:
parent
7422d04e2f
commit
456539ce90
|
@ -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 = [];
|
||||
|
||||
|
|
Loading…
Reference in New Issue