Skip to content

Commit

Permalink
Fix killswitch for multiple markets (#305)
Browse files Browse the repository at this point in the history
Co-authored-by: DonDuala <[email protected]>
  • Loading branch information
DonDuala and DonDuala authored Dec 3, 2024
1 parent 5619e6f commit 189f754
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debug-ui/app/components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const NavBar = (): ReactElement => {
href="/panic-button"
className="text-gray-200 hover:text-white transition-colors"
>
Panic Button
Killswitch
</Link>
</li>
)}
Expand Down
2 changes: 1 addition & 1 deletion debug-ui/app/panic-button/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const PanicButton = (): ReactElement => {
{connected
? loading
? 'Executing...'
: 'PANIC BUTTON'
: 'KILLSWITCH'
: 'connect wallet to execute'}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion debug-ui/lib/killswitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const killswitch = async (
const oos = wrapper.openOrdersForMarket(marketPub);
if (!oos || oos.length === 0) {
console.log(`no oos exist for ${marketAddr} skipping...`);
return;
continue;
}

console.log(
Expand Down

0 comments on commit 189f754

Please sign in to comment.