Skip to content

Commit

Permalink
Merge branch 'dev' of github.com-johnnyd-eth:jbx-protocol/juice-inter…
Browse files Browse the repository at this point in the history
…face into dev
  • Loading branch information
johnnyd-eth committed Sep 30, 2024
2 parents fa749fd + fac9bf7 commit 9e6667c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ import {
} from 'packages/v2v3/models/fundingCycle'
import { GroupedSplits, SplitGroup } from 'packages/v2v3/models/splits'
import {
getTerminalsFromFundAccessConstraints,
isValidMustStartAtOrAfter,
isValidMustStartAtOrAfter
} from 'packages/v2v3/utils/fundingCycle'
import { useContext } from 'react'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/editingV2Project'
Expand Down Expand Up @@ -209,10 +208,7 @@ export function useLaunchProjectWithNftsTx(): TransactorInstance<LaunchProjectWi
mustStartAtOrAfter,
groupedSplits,
fundAccessConstraints,
terminals: getTerminalsFromFundAccessConstraints(
fundAccessConstraints,
defaultJBETHPaymentTerminal?.address,
),
terminals: [defaultJBETHPaymentTerminal?.address],
memo: DEFAULT_MEMO,
} // _launchProjectData

Expand Down
8 changes: 2 additions & 6 deletions src/packages/v2v3/hooks/transactor/useLaunchProjectTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import {
} from 'packages/v2v3/models/fundingCycle'
import { GroupedSplits, SplitGroup } from 'packages/v2v3/models/splits'
import {
getTerminalsFromFundAccessConstraints,
isValidMustStartAtOrAfter,
isValidMustStartAtOrAfter
} from 'packages/v2v3/utils/fundingCycle'
import { useContext } from 'react'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/editingV2Project'
Expand Down Expand Up @@ -87,10 +86,7 @@ export function useLaunchProjectTx(): TransactorInstance<LaunchV2V3ProjectData>
mustStartAtOrAfter, // _mustStartAtOrAfter
groupedSplits, // _groupedSplits,
fundAccessConstraints, // _fundAccessConstraints,
getTerminalsFromFundAccessConstraints(
fundAccessConstraints,
defaultJBETHPaymentTerminal?.address,
), // _terminals
[defaultJBETHPaymentTerminal?.address], // _terminals
DEFAULT_MEMO,
]

Expand Down

0 comments on commit 9e6667c

Please sign in to comment.