From 097af5506e2fcaa8d17fcb16f63b77ac10ffcb51 Mon Sep 17 00:00:00 2001 From: Tom Robiquet Date: Tue, 19 Sep 2023 11:52:58 +0200 Subject: [PATCH] revert and fix --- lib/state/market-creation/types/draft.ts | 1 - lib/state/wallet.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/state/market-creation/types/draft.ts b/lib/state/market-creation/types/draft.ts index 6ca966f7d..128bf047b 100644 --- a/lib/state/market-creation/types/draft.ts +++ b/lib/state/market-creation/types/draft.ts @@ -67,7 +67,6 @@ export const empty = () => ({ reportingPeriod: reportingPeriodOptions[1], disputePeriod: reportingPeriodOptions[1], moderation: "Permissionless", - creatorFee: 0, liquidity: { deploy: true, rows: [], diff --git a/lib/state/wallet.ts b/lib/state/wallet.ts index 447721368..b3c598d56 100644 --- a/lib/state/wallet.ts +++ b/lib/state/wallet.ts @@ -225,10 +225,10 @@ const enableWallet = async (walletId: string) => { } const enablePoll = async (): Promise => { - await cryptoWaitReady(); try { const extension = await poll( async () => { + await cryptoWaitReady(); await wallet.enable(DAPP_NAME); return wallet; },