fix createswitchboard oracles fund amount

This commit is contained in:
Adrian Brzeziński 2024-08-18 19:26:22 +02:00
parent ebd50ca5b3
commit d55fef3296
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ const CreateSwitchboardOracleModal = ({
const quoteTokenName = 'USD'
const [creatingOracle, setCreatingOracle] = useState(false)
console.log(isSolPool, isReversedPool)
const create = useCallback(async () => {
try {
const swapValue = tierToSwitchboardJobSwapValue[tierKey]
@ -134,7 +134,7 @@ const CreateSwitchboardOracleModal = ({
authority: payer,
crankDataBuffer: crankAccount.dataBuffer?.publicKey,
crankPubkey: crankAccount.publicKey,
fundAmount: 0,
fundAmount: settingFromLib.fundAmount,
slidingWindow: true,
disableCrank: false,
maxPriorityFeeMultiplier: 2,