Skip to content

Commit

Permalink
revert and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robiquet committed Sep 19, 2023
1 parent 8b630bd commit 097af55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/state/market-creation/types/draft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export const empty = () => ({
reportingPeriod: reportingPeriodOptions[1],
disputePeriod: reportingPeriodOptions[1],
moderation: "Permissionless",
creatorFee: 0,
liquidity: {
deploy: true,
rows: [],
Expand Down
2 changes: 1 addition & 1 deletion lib/state/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ const enableWallet = async (walletId: string) => {
}

const enablePoll = async (): Promise<void> => {
await cryptoWaitReady();
try {
const extension = await poll(
async () => {
await cryptoWaitReady();
await wallet.enable(DAPP_NAME);
return wallet;
},
Expand Down

0 comments on commit 097af55

Please sign in to comment.