Skip to content

Commit

Permalink
fix: disable invitation swaps
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed May 20, 2024
1 parent 8839e24 commit 45e8926
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/swap/AmountSelectorDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ const isPurseEmpty = (purse: PurseJSONState<AssetKind>) => {
return value === 0n;
}
if (assetKind === 'set') {
return value.length === 0;
// UNTIL: https://github.com/Agoric/agoric-sdk/issues/9378
return true;
}
if (assetKind === 'copyBag') {
return value.payload.length === 0;
Expand Down

0 comments on commit 45e8926

Please sign in to comment.