Skip to content

Commit

Permalink
Removed Code not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSaksham committed Jul 2, 2024
1 parent 8f7d32c commit 40cf4d2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/components/Jam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,23 +284,10 @@ export default function Jam({ wallet }: JamProps) {
setAlert(undefined)
setIsWaitingSchedulerStart(true)

// const destinations = addressValueKeys(addressCount).map((key) => values[key])
const destinations = addressValueKeys(addressCount).map((key) => values[key])

const body: Api.StartSchedulerRequest = {
destination_addresses: destinations,
tumbler_options: {
addrcount: addressCount,
minmakercount: 1,
makercountrange: [1, 0],
mixdepthcount: addressCount,
mintxcount: 1,
txcountparams: [1, 0],
timelambda: 0.025, // 0.025 minutes := 1.5 seconds
stage1_timelambda_increase: 1.0,
liquiditywait: 13,
waittime: 0.0,
},
}

// Make sure schedule testing is really only used in dev mode.
Expand Down Expand Up @@ -353,10 +340,6 @@ export default function Jam({ wallet }: JamProps) {

return (
<>
{' '}
{
// MARK: Scheduler Page
}
<PageTitle title={t('scheduler.title')} subtitle={t('scheduler.subtitle')} />
{alert && <rb.Alert variant={alert.variant}>{alert.message}</rb.Alert>}
{isLoading || !serviceInfo || !walletInfo || isWaitingSchedulerStart || isWaitingSchedulerStop ? (
Expand Down

0 comments on commit 40cf4d2

Please sign in to comment.